Antonio Cheong
commited on
Commit
·
f61bbb2
1
Parent(s):
af09b23
Bug fixes
Browse files- src/BingGPT.py +2 -1
src/BingGPT.py
CHANGED
@@ -253,7 +253,8 @@ async def main():
|
|
253 |
prompt = get_input("\nYou:\n")
|
254 |
if prompt == "!exit":
|
255 |
break
|
256 |
-
print(
|
|
|
257 |
await bot.a_close()
|
258 |
|
259 |
if __name__ == "__main__":
|
|
|
253 |
prompt = get_input("\nYou:\n")
|
254 |
if prompt == "!exit":
|
255 |
break
|
256 |
+
print("Bot:")
|
257 |
+
print((await bot.a_ask(prompt=prompt))["item"]["messages"][1]["text"])
|
258 |
await bot.a_close()
|
259 |
|
260 |
if __name__ == "__main__":
|