Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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,
|
| 198 |
-
--- LAUNCH APPLICATION CORE ---
|
|
|
|
|
|
|
|
|
| 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)
|