prithivMLmods commited on
Commit
740d56a
·
verified ·
1 Parent(s): 9c5d023

update migration [.]

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -377,8 +377,7 @@ video_examples = [
377
  ["Explain the video in detail.", "videos/2.mp4"]
378
  ]
379
 
380
- # Create the Gradio Interface
381
- with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
382
  gr.Markdown("# **Multimodal OCR2**", elem_id="main-title")
383
  with gr.Row():
384
  with gr.Column(scale=2):
@@ -424,4 +423,4 @@ with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
424
  )
425
 
426
  if __name__ == "__main__":
427
- demo.queue(max_size=50).launch(mcp_server=True, ssr_mode=False, show_error=True)
 
377
  ["Explain the video in detail.", "videos/2.mp4"]
378
  ]
379
 
380
+ with gr.Blocks() as demo:
 
381
  gr.Markdown("# **Multimodal OCR2**", elem_id="main-title")
382
  with gr.Row():
383
  with gr.Column(scale=2):
 
423
  )
424
 
425
  if __name__ == "__main__":
426
+ demo.queue(max_size=50).launch(css=css, theme=steel_blue_theme, mcp_server=True, ssr_mode=False, show_error=True)