prithivMLmods commited on
Commit
4356de9
Β·
verified Β·
1 Parent(s): fadd3ee

update app

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -273,7 +273,7 @@ def main():
273
  gr.HTML("""
274
  <div class="header-text">
275
  <h1>πŸ“„ Multimodal: VLM Parsing</h1>
276
- <p style="font-size: 1.1em;">An advanced Vision Language Model to parse documents and images into clean Markdown (.md)</p>
277
  <div style="display: flex; justify-content: center; gap: 20px; margin: 15px 0;">
278
  <a href="https://huggingface.co/collections/prithivMLmods/mm-vlm-parsing-68e33e52bfb9ae60b50602dc" target="_blank" style="text-decoration: none; font-weight: 500;">πŸ€— Model Info</a>
279
  <a href="https://github.com/PRITHIVSAKTHIUR/VLM-Parsing" target="_blank" style="text-decoration: none; font-weight: 500;">πŸ’» GitHub</a>
@@ -287,8 +287,8 @@ def main():
287
  model_choice = gr.Dropdown(choices=["Logics-Parsing", "Gliese-OCR-7B-Post1.0", "olmOCR-7B-0825"], label="Select Model", value="Logics-Parsing")
288
  file_input = gr.File(label="Upload PDF or Image", file_types=[".pdf", ".jpg", ".jpeg", ".png"], type="filepath")
289
 
290
- process_btn = gr.Button("Process Document", variant="primary", size="lg")
291
- clear_btn = gr.Button("Clear All", variant="secondary")
292
 
293
  image_preview = gr.Image(label="Preview", type="pil", interactive=False, height=320)
294
 
 
273
  gr.HTML("""
274
  <div class="header-text">
275
  <h1>πŸ“„ Multimodal: VLM Parsing</h1>
276
+ <p style="font-size: 1.1em;">An advanced Vision Language Model to parse documents and images into clean Markdown (html)</p>
277
  <div style="display: flex; justify-content: center; gap: 20px; margin: 15px 0;">
278
  <a href="https://huggingface.co/collections/prithivMLmods/mm-vlm-parsing-68e33e52bfb9ae60b50602dc" target="_blank" style="text-decoration: none; font-weight: 500;">πŸ€— Model Info</a>
279
  <a href="https://github.com/PRITHIVSAKTHIUR/VLM-Parsing" target="_blank" style="text-decoration: none; font-weight: 500;">πŸ’» GitHub</a>
 
287
  model_choice = gr.Dropdown(choices=["Logics-Parsing", "Gliese-OCR-7B-Post1.0", "olmOCR-7B-0825"], label="Select Model", value="Logics-Parsing")
288
  file_input = gr.File(label="Upload PDF or Image", file_types=[".pdf", ".jpg", ".jpeg", ".png"], type="filepath")
289
 
290
+ process_btn = gr.Button("πŸš€Process Document", variant="primary", size="lg")
291
+ clear_btn = gr.Button("πŸ—‘οΈ Clear All", variant="secondary")
292
 
293
  image_preview = gr.Image(label="Preview", type="pil", interactive=False, height=320)
294