Spaces:
Runtime error
Runtime error
Commit
·
839c4a5
1
Parent(s):
74aa620
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def chat(api,message, chat_history):
|
|
55 |
out_chat.append((message, response))
|
56 |
chat_history = json.dumps(out_chat)
|
57 |
logger.info(f"out_chat_: {len(out_chat)}")
|
58 |
-
return out_chat, chat_history
|
59 |
|
60 |
start_work = """async() => {
|
61 |
function isMobile() {
|
|
|
55 |
out_chat.append((message, response))
|
56 |
chat_history = json.dumps(out_chat)
|
57 |
logger.info(f"out_chat_: {len(out_chat)}")
|
58 |
+
return api,out_chat, chat_history
|
59 |
|
60 |
start_work = """async() => {
|
61 |
function isMobile() {
|