LPX55 commited on
Commit
7089f44
·
1 Parent(s): 38c0d61
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -16,6 +16,7 @@ import json
16
  theme = gr.Theme.from_hub("LPX55/modal_ai")
17
 
18
  with gr.Blocks(theme=theme, js=js_func, css=css_func) as demo:
 
19
  show_space_tab = gr.State(False)
20
  # Iframe lazy load pattern
21
  heavy_iframe_src = gr.State("")
@@ -177,4 +178,4 @@ print(client.predict("Alex", 5, False, api_name="/greet"))
177
 
178
  shared_state.change(pretty_json, shared_state, shared_state_box)
179
 
180
- demo.queue().launch(mcp_server=True)
 
16
  theme = gr.Theme.from_hub("LPX55/modal_ai")
17
 
18
  with gr.Blocks(theme=theme, js=js_func, css=css_func) as demo:
19
+ demo.queue()
20
  show_space_tab = gr.State(False)
21
  # Iframe lazy load pattern
22
  heavy_iframe_src = gr.State("")
 
178
 
179
  shared_state.change(pretty_json, shared_state, shared_state_box)
180
 
181
+ demo.launch(mcp_server=True)