Vector857 commited on
Commit
81baa68
Β·
verified Β·
1 Parent(s): 1dc68a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -519,8 +519,8 @@ function() {
519
 
520
  with gr.Blocks(theme=drex_theme, css=CSS, js=JS_INIT, delete_cache=(300, 300), title="D-REX Studio") as app:
521
 
522
- selected_index = gr.State(None)
523
- history_state = gr.State([])
524
 
525
  # ── HEADER ──
526
  gr.HTML("""
@@ -730,4 +730,4 @@ with gr.Blocks(theme=drex_theme, css=CSS, js=JS_INIT, delete_cache=(300, 300), t
730
  # ── LAUNCH ────────────────────────────────────────────────────────────────────
731
 
732
  app.queue()
733
- app.launch(show_error=True)
 
519
 
520
  with gr.Blocks(theme=drex_theme, css=CSS, js=JS_INIT, delete_cache=(300, 300), title="D-REX Studio") as app:
521
 
522
+ selected_index = gr.State(value=None)
523
+ history_state = gr.State(value=[])
524
 
525
  # ── HEADER ──
526
  gr.HTML("""
 
730
  # ── LAUNCH ────────────────────────────────────────────────────────────────────
731
 
732
  app.queue()
733
+ app.launch(show_error=True, share=False, server_name="0.0.0.0")