prithivMLmods commited on
Commit
312fd63
·
verified ·
1 Parent(s): 2f2fa40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -377,7 +377,7 @@ video_examples = [
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):
@@ -401,7 +401,7 @@ with gr.Blocks() as demo:
401
 
402
  with gr.Column(scale=3):
403
  gr.Markdown("## Output", elem_id="output-title")
404
- raw_output = gr.Textbox(label="Raw Output Stream", interactive=False, lines=11, buttons=["copy"])
405
  with gr.Accordion("(Result.md)", open=False):
406
  formatted_output = gr.Markdown(label="(Result.md)")
407
 
@@ -423,4 +423,4 @@ with gr.Blocks() as demo:
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)
 
377
  ["Explain the video in detail.", "videos/2.mp4"]
378
  ]
379
 
380
+ with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
381
  gr.Markdown("# **Multimodal OCR2**", elem_id="main-title")
382
  with gr.Row():
383
  with gr.Column(scale=2):
 
401
 
402
  with gr.Column(scale=3):
403
  gr.Markdown("## Output", elem_id="output-title")
404
+ raw_output = gr.Textbox(label="Raw Output Stream", interactive=False, lines=11, show_copy_button=True)
405
  with gr.Accordion("(Result.md)", open=False):
406
  formatted_output = gr.Markdown(label="(Result.md)")
407
 
 
423
  )
424
 
425
  if __name__ == "__main__":
426
+ demo.queue(max_size=50).launch(mcp_server=True, ssr_mode=False, show_error=True)