Vector857 commited on
Commit
fae59a3
Β·
verified Β·
1 Parent(s): 05d45b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -507,8 +507,7 @@ function() {
507
 
508
  # ── GRADIO UI ─────────────────────────────────────────────────────────────────
509
 
510
- with gr.Blocks(theme=drex_theme, css=CSS, js=JS_INIT, delete_cache=(300, 300), title="D-REX Studio") as app:
511
-
512
  selected_index = gr.State(value=None)
513
  history_state = gr.State(value=[])
514
 
@@ -725,4 +724,8 @@ with gr.Blocks(theme=drex_theme, css=CSS, js=JS_INIT, delete_cache=(300, 300), t
725
  # ── LAUNCH ────────────────────────────────────────────────────────────────────
726
 
727
  app.queue()
728
- app.launch()
 
 
 
 
 
507
 
508
  # ── GRADIO UI ─────────────────────────────────────────────────────────────────
509
 
510
+ with gr.Blocks(title="D-REX Studio") as app:
 
511
  selected_index = gr.State(value=None)
512
  history_state = gr.State(value=[])
513
 
 
724
  # ── LAUNCH ────────────────────────────────────────────────────────────────────
725
 
726
  app.queue()
727
+ app.launch(
728
+ theme=drex_theme,
729
+ css=CSS,
730
+ js=JS_INIT,
731
+ )