tferhan commited on
Commit
3959b0d
·
verified ·
1 Parent(s): baabeb0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -8
app.py CHANGED
@@ -177,11 +177,3 @@ gr.ChatInterface(data_gov_ma).launch()
177
 
178
 
179
 
180
- def keep_alive():
181
- while True:
182
- gr.ChatInterface(data_gov_ma).launch()
183
- time.sleep(60*60*24) # Pause for 24 hours
184
-
185
- # Créer et lancer le thread
186
- thread = threading.Thread(target=keep_alive)
187
- thread.start()
 
177
 
178
 
179