prithivMLmods commited on
Commit
3a7015b
·
verified ·
1 Parent(s): c59a63a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -268,7 +268,7 @@ css = """
268
  }
269
  """
270
 
271
- with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
272
  with gr.Column(elem_id="col-container"):
273
  gr.Markdown("# **Qwen-3VL: Multimodal Understanding**", elem_id="main-title")
274
 
@@ -291,7 +291,7 @@ with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
291
  with gr.Column(scale=2):
292
  qwen_img_output = gr.Image(label="Output Image")
293
  qwen_text_output = gr.Textbox(
294
- label="Text Output", lines=10, interactive=False)
295
 
296
  gr.Examples(
297
  examples=[
@@ -318,4 +318,4 @@ with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
318
  )
319
 
320
  if __name__ == "__main__":
321
- demo.launch(mcp_server=True, ssr_mode=False, show_error=True)
 
268
  }
269
  """
270
 
271
+ with gr.Blocks() as demo:
272
  with gr.Column(elem_id="col-container"):
273
  gr.Markdown("# **Qwen-3VL: Multimodal Understanding**", elem_id="main-title")
274
 
 
291
  with gr.Column(scale=2):
292
  qwen_img_output = gr.Image(label="Output Image")
293
  qwen_text_output = gr.Textbox(
294
+ label="Text Output", lines=10, interactive=True)
295
 
296
  gr.Examples(
297
  examples=[
 
318
  )
319
 
320
  if __name__ == "__main__":
321
+ demo.launch(css=css, theme=steel_blue_theme, mcp_server=True, ssr_mode=False, show_error=True)