PoetNameLife commited on
Commit
edded45
·
verified ·
1 Parent(s): 5afdd7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -194,5 +194,7 @@ with gr.Blocks(title="AIXYZone Sentinel Core") as demo:
194
  fn=handle_autopilot_toggle,
195
  inputs=[btn_toggle],
196
  outputs=[btn_trigger, auto_loop])
197
- # 3. Autopilot Background Clock Loop Tickauto_loop.tick(fn=run_single_scan_step,inputs=[task_index_state, total_xp_state, live_log],outputs=[task_index_state, total_xp_state, live_log, xp_display, download_file, telemetry_bridge])
198
- --- LAUNCH APPLICATION CORE ---if name == "main":demo.launch(server_name="0.0.0.0", server_port=7860)
 
 
 
194
  fn=handle_autopilot_toggle,
195
  inputs=[btn_toggle],
196
  outputs=[btn_trigger, auto_loop])
197
+ # 3. Autopilot Background Clock Loop Tickauto_loop.tick(fn=run_single_scan_step,inputs=[task_index_state, total_xp_state, live_log],outputs=[task_index_state, total_xp_state, live_log, xp_display, download_file,)
198
+ # --- LAUNCH APPLICATION CORE ---
199
+ if __name__ == "__main__":
200
+ demo.launch(server_name="0.0.0.0", server_port=7860)