Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -287,7 +287,7 @@ 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)
|
|
|
|
| 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)
|