Spaces:
Runtime error
Runtime error
cache disposal
Browse files- app.py +1 -1
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -182,7 +182,7 @@ def import_history(history, file):
|
|
| 182 |
# The history is returned and will be set to the chatbot component
|
| 183 |
return history
|
| 184 |
|
| 185 |
-
with gr.Blocks() as demo:
|
| 186 |
gr.Markdown("# Anthropic™️ Claude™️ Chat (Nils' Version™️)")
|
| 187 |
|
| 188 |
with gr.Accordion("Startup"):
|
|
|
|
| 182 |
# The history is returned and will be set to the chatbot component
|
| 183 |
return history
|
| 184 |
|
| 185 |
+
with gr.Blocks(delete_cache=(86400, 86400)) as demo:
|
| 186 |
gr.Markdown("# Anthropic™️ Claude™️ Chat (Nils' Version™️)")
|
| 187 |
|
| 188 |
with gr.Accordion("Startup"):
|
requirements.txt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
-
gradio
|
| 2 |
anthropic
|
| 3 |
lxml
|
|
|
|
| 1 |
+
gradio>=4.20
|
| 2 |
anthropic
|
| 3 |
lxml
|