prithivMLmods commited on
Commit
e67ae9e
·
verified ·
1 Parent(s): ce95244

update migration [.]

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -235,7 +235,7 @@ image_examples = [
235
  ["Extract the contents. [page].", "examples/2.jpg"],
236
  ]
237
 
238
- with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
239
  gr.Markdown("# **Multimodal OCR3**", elem_id="main-title")
240
  with gr.Row():
241
  with gr.Column(scale=2):
@@ -274,4 +274,4 @@ with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
274
  )
275
 
276
  if __name__ == "__main__":
277
- demo.queue(max_size=50).launch(mcp_server=True, ssr_mode=False, show_error=True)
 
235
  ["Extract the contents. [page].", "examples/2.jpg"],
236
  ]
237
 
238
+ with gr.Blocks() as demo:
239
  gr.Markdown("# **Multimodal OCR3**", elem_id="main-title")
240
  with gr.Row():
241
  with gr.Column(scale=2):
 
274
  )
275
 
276
  if __name__ == "__main__":
277
+ demo.queue(max_size=50).launch(css=css, theme=steel_blue_theme, mcp_server=True, ssr_mode=False, show_error=True)