Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -111,8 +111,8 @@ def generate(
|
|
| 111 |
for text in streamer:
|
| 112 |
outputs.append(text)
|
| 113 |
yield "".join(outputs)
|
| 114 |
-
final_story = "".join(outputs) # The complete story
|
| 115 |
-
conversation_id = save_chat_history(chat_history + [(message, final_story)])
|
| 116 |
|
| 117 |
yield f"Conversation ID: {conversation_id}"
|
| 118 |
|
|
|
|
| 111 |
for text in streamer:
|
| 112 |
outputs.append(text)
|
| 113 |
yield "".join(outputs)
|
| 114 |
+
# final_story = "".join(outputs) # The complete story
|
| 115 |
+
# conversation_id = save_chat_history(chat_history + [(message, final_story)])
|
| 116 |
|
| 117 |
yield f"Conversation ID: {conversation_id}"
|
| 118 |
|