Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -206,10 +206,10 @@ with gr.Blocks(theme=gr.themes.Ocean()) as demo:
|
|
206 |
)
|
207 |
|
208 |
if __name__ == "__main__":
|
|
|
|
|
209 |
schedule.every(10).minutes.do(clear_temp_directory)
|
210 |
|
211 |
while True:
|
212 |
schedule.run_pending()
|
213 |
-
time.sleep(1)
|
214 |
-
|
215 |
-
demo.launch(show_error=True)
|
|
|
206 |
)
|
207 |
|
208 |
if __name__ == "__main__":
|
209 |
+
demo.launch(show_error=True)
|
210 |
+
|
211 |
schedule.every(10).minutes.do(clear_temp_directory)
|
212 |
|
213 |
while True:
|
214 |
schedule.run_pending()
|
215 |
+
time.sleep(1)
|
|
|
|