Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -222,6 +222,7 @@ if UPDATE_INTERVAL > 0:
|
|
222 |
# Shutdown scheduler when app terminates
|
223 |
atexit.register(lambda: scheduler.shutdown())
|
224 |
|
225 |
-
|
226 |
-
|
227 |
-
demo
|
|
|
|
222 |
# Shutdown scheduler when app terminates
|
223 |
atexit.register(lambda: scheduler.shutdown())
|
224 |
|
225 |
+
# Create and launch the interface
|
226 |
+
if __name__ == "__main__":
|
227 |
+
demo = create_interface()
|
228 |
+
demo.launch()
|