wholewhale commited on
Commit
6360179
·
1 Parent(s): a7aa0eb
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -129,8 +129,8 @@ def auto_clear_data():
129
 
130
  def periodic_clear():
131
  while True:
132
- auto_clear_data()
133
- time.sleep(1000)
134
 
135
  threading.Thread(target=periodic_clear).start()
136
 
@@ -181,4 +181,5 @@ with gr.Blocks(css=css) as demo:
181
  bot, chatbot, chatbot
182
  )
183
 
184
- demo.launch()
 
 
129
 
130
  def periodic_clear():
131
  while True:
132
+ auto_clear_data()
133
+ time.sleep(1000)
134
 
135
  threading.Thread(target=periodic_clear).start()
136
 
 
181
  bot, chatbot, chatbot
182
  )
183
 
184
+ demo.launch()
185
+