prithivMLmods commited on
Commit
1203426
·
verified ·
1 Parent(s): db7b2f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -45,7 +45,6 @@ model_x = Qwen2_5_VLForConditionalGeneration.from_pretrained(
45
  trust_remote_code=True,
46
  torch_dtype=torch.float16
47
  ).to(device).eval()
48
-
49
  def downsample_video(video_path):
50
  """
51
  Downsamples the video to evenly spaced frames.
@@ -203,7 +202,7 @@ css = """
203
 
204
  # Create the Gradio Interface
205
  with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
206
- gr.Markdown("# **Multimodal OCR**")
207
  with gr.Row():
208
  with gr.Column():
209
  with gr.Tabs():
@@ -237,7 +236,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
237
  value="VIREX-062225-exp"
238
  )
239
 
240
- gr.Markdown("**Model Info 💻 | [Report Bug](https://huggingface.co/spaces/prithivMLmods/Doc-VLMs/discussions)**")
241
 
242
  image_submit.click(
243
  fn=generate_image,
 
45
  trust_remote_code=True,
46
  torch_dtype=torch.float16
47
  ).to(device).eval()
 
48
  def downsample_video(video_path):
49
  """
50
  Downsamples the video to evenly spaced frames.
 
202
 
203
  # Create the Gradio Interface
204
  with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
205
+ gr.Markdown("# **[Doc VLMs](https://huggingface.co/collections/prithivMLmods/multimodal-implementations-67c9982ea04b39f0608badb0)**")
206
  with gr.Row():
207
  with gr.Column():
208
  with gr.Tabs():
 
236
  value="VIREX-062225-exp"
237
  )
238
 
239
+ gr.Markdown("**Model Info 💻** | [Report Bug](https://huggingface.co/spaces/prithivMLmods/Doc-VLMs/discussions)")
240
 
241
  image_submit.click(
242
  fn=generate_image,