Nils Durner commited on
Commit
5985de6
·
1 Parent(s): 22441f4

cache disposal

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -1
app.py CHANGED
@@ -107,7 +107,7 @@ def import_history(history, file):
107
  # The history is returned and will be set to the chatbot component
108
  return history
109
 
110
- with gr.Blocks() as demo:
111
  gr.Markdown("# Amazon™️ Bedrock™️ Chat™️ (Nils' Version™️) feat. Mistral™️ AI & Anthropic™️ Claude™️")
112
 
113
  with gr.Accordion("Startup"):
 
107
  # The history is returned and will be set to the chatbot component
108
  return history
109
 
110
+ with gr.Blocks(delete_cache=(86400, 86400)) as demo:
111
  gr.Markdown("# Amazon™️ Bedrock™️ Chat™️ (Nils' Version™️) feat. Mistral™️ AI & Anthropic™️ Claude™️")
112
 
113
  with gr.Accordion("Startup"):
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- gradio
2
  langchain
3
  boto3>1.34.54
4
  lxml
 
1
+ gradio>=4.20
2
  langchain
3
  boto3>1.34.54
4
  lxml