Update generate.py
This commit is contained in:
parent
9a039e98d7
commit
e402eca257
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
from poe_api_wrapper import PoeApi
|
from poe_api_wrapper import PoeApi
|
||||||
import os
|
import os
|
||||||
client = PoeApi(os.environ['pb'])
|
client = PoeApi(os.environ['PB'])
|
||||||
import asyncio
|
import asyncio
|
||||||
|
|
||||||
#from revChatGPT.V1 import AsyncChatbot
|
#from revChatGPT.V1 import AsyncChatbot
|
||||||
|
@ -23,4 +23,4 @@ async def GetText(prompt,bot = "chinchilla"):
|
||||||
# message = data["message"][len(prev_text) :]
|
# message = data["message"][len(prev_text) :]
|
||||||
# #print(message, end="", flush=True)
|
# #print(message, end="", flush=True)
|
||||||
# prev_text = data["message"]
|
# prev_text = data["message"]
|
||||||
return prev_text
|
return prev_text
|
||||||
|
|
Loading…
Reference in a new issue