Nils Durner commited on
Commit
7433885
1 Parent(s): 440ea37

cache disposal

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. app.py +1 -1
  3. requirements.txt +1 -1
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🤖
4
  colorFrom: yellow
5
  colorTo: gray
6
  sdk: gradio
7
- sdk_version: 4.2.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
 
4
  colorFrom: yellow
5
  colorTo: gray
6
  sdk: gradio
7
+ sdk_version: 4.20.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
app.py CHANGED
@@ -217,7 +217,7 @@ def import_history(history, file):
217
 
218
  return history, system_prompt.value # Return system prompt value to be set in the UI
219
 
220
- with gr.Blocks() as demo:
221
  gr.Markdown("# OAI Chat (Nils' Version™️)")
222
  with gr.Accordion("Startup"):
223
  gr.Markdown("""Use of this interface permitted under the terms and conditions of the
 
217
 
218
  return history, system_prompt.value # Return system prompt value to be set in the UI
219
 
220
+ with gr.Blocks(delete_cache=(86400, 86400)) as demo:
221
  gr.Markdown("# OAI Chat (Nils' Version™️)")
222
  with gr.Accordion("Startup"):
223
  gr.Markdown("""Use of this interface permitted under the terms and conditions of the
requirements.txt CHANGED
@@ -1,3 +1,3 @@
1
- gradio>=4.1
2
  openai >= 1.0.0
3
  lxml
 
1
+ gradio >= 4.20
2
  openai >= 1.0.0
3
  lxml