SPIDEY commited on
Commit
ad93d66
Β·
1 Parent(s): 6e8e934

Update Gradio 6 parameter

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -709,7 +709,7 @@ INTRO_JS = """
709
  """
710
 
711
  # ── Gradio app ─────────────────────────────────────────────────────────────────
712
- with gr.Blocks(head=HEAD, theme=gr.themes.Base(), css="body{background:#241208!important;}.gradio-container{background:#241208!important;}", js=INTRO_JS) as demo:
713
 
714
  state = gr.State(init_state())
715
 
@@ -1022,4 +1022,8 @@ with gr.Blocks(head=HEAD, theme=gr.themes.Base(), css="body{background:#241208!i
1022
  )
1023
 
1024
  if __name__ == "__main__":
1025
- demo.launch()
 
 
 
 
 
709
  """
710
 
711
  # ── Gradio app ─────────────────────────────────────────────────────────────────
712
+ with gr.Blocks() as demo:
713
 
714
  state = gr.State(init_state())
715
 
 
1022
  )
1023
 
1024
  if __name__ == "__main__":
1025
+ demo.launch(
1026
+ head=HEAD,
1027
+ theme=gr.themes.Base(),
1028
+ css="body{background:#241208!important;}.gradio-container{background:#241208!important;}",
1029
+ )