cmcmaster commited on
Commit
08ad50e
·
verified ·
1 Parent(s): 7621c41

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -4
main.py CHANGED
@@ -222,7 +222,6 @@ if UPDATE_INTERVAL > 0:
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()
 
222
  # Shutdown scheduler when app terminates
223
  atexit.register(lambda: scheduler.shutdown())
224
 
225
+
226
+ demo = create_interface()
227
+ demo.launch()