rodrigomasini
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -219,5 +219,6 @@ interface = gr.Interface(
|
|
219 |
|
220 |
scheduler.add_job(restart_space, "interval", seconds=1800)
|
221 |
scheduler.start()
|
|
|
222 |
|
223 |
-
interface.launch()
|
|
|
219 |
|
220 |
scheduler.add_job(restart_space, "interval", seconds=1800)
|
221 |
scheduler.start()
|
222 |
+
scheduler = BackgroundScheduler()
|
223 |
|
224 |
+
interface.launch()
|