Spaces:
Paused
Paused
Upload app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ async def get_model_reply(prompt,style,cookies,context=[]):
|
|
25 |
bot = Chatbot(cookies=cookies)
|
26 |
raw_data = await bot.ask(prompt, conversation_style=style)
|
27 |
await bot.close()
|
28 |
-
|
29 |
try:
|
30 |
try:
|
31 |
response = raw_data["item"]["messages"][1]["text"]
|
|
|
25 |
bot = Chatbot(cookies=cookies)
|
26 |
raw_data = await bot.ask(prompt, conversation_style=style)
|
27 |
await bot.close()
|
28 |
+
print(raw_data)
|
29 |
try:
|
30 |
try:
|
31 |
response = raw_data["item"]["messages"][1]["text"]
|