Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def generate(prompt, history, user_system_prompt, temperature=0.9, max_new_token
|
|
49 |
|
50 |
# Save the updated chat history to localStorage
|
51 |
new_history = history + [(prompt, output)]
|
52 |
-
gr.
|
53 |
|
54 |
return output
|
55 |
|
|
|
49 |
|
50 |
# Save the updated chat history to localStorage
|
51 |
new_history = history + [(prompt, output)]
|
52 |
+
gr.context.client.call('saveChat', [new_history])
|
53 |
|
54 |
return output
|
55 |
|