Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|