Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ def respond(message, api_key, max_tokens, top_p, temperature):
|
|
114 |
assistant_reply += chunk_message
|
115 |
yield assistant_reply
|
116 |
except Exception as e:
|
117 |
-
|
118 |
|
119 |
|
120 |
history.append((message, assistant_reply, "You", "P-ALPLE", sessions[api_key]["avatar"], ASSISTANT_PIC_PATH))
|
|
|
114 |
assistant_reply += chunk_message
|
115 |
yield assistant_reply
|
116 |
except Exception as e:
|
117 |
+
print(f"Stream chunk error: {e}")
|
118 |
|
119 |
|
120 |
history.append((message, assistant_reply, "You", "P-ALPLE", sessions[api_key]["avatar"], ASSISTANT_PIC_PATH))
|