Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
Update EdgeGPT.py (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiansztiansz authored May 24, 2023
1 parent 560118a commit 097ec9b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/EdgeGPT.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
from enum import Enum
from pathlib import Path
from typing import Generator
from typing import Literal
try:
from typing import Literal
except ImportError:
from typing_extensions import Literal
from typing import Optional
from typing import Union

Expand Down Expand Up @@ -1024,7 +1027,7 @@ async def send_to_bing(self, echo=True, echo_prompt=False):
try:
bot = await Chatbot.create()
if echo_prompt:
print(f"> {self.prompt=}")
print(f"> {self.prompt}=")
if echo:
print("> Waiting for response...")
if self.style.lower() not in "creative balanced precise".split():
Expand Down

0 comments on commit 097ec9b

Please sign in to comment.