Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -282,7 +282,7 @@ def create_gradio_interface():
|
|
| 282 |
with gr.TabItem("📄 Document & General VLM"):
|
| 283 |
with gr.Row():
|
| 284 |
with gr.Column(scale=1):
|
| 285 |
-
gr.Markdown("### 1. Configure Inputs")
|
| 286 |
model_choice = gr.Dropdown(
|
| 287 |
choices=["Camel-Doc-OCR-062825 (OCR)", "MinerU2.5-2509 (General)"],
|
| 288 |
label="Select Model", value= "Camel-Doc-OCR-062825 (OCR)"
|
|
@@ -301,7 +301,7 @@ def create_gradio_interface():
|
|
| 301 |
clear_btn = gr.Button("🗑️ Clear", variant="secondary")
|
| 302 |
|
| 303 |
with gr.Column(scale=2):
|
| 304 |
-
gr.Markdown("### 2. View Output")
|
| 305 |
output_stream = gr.Textbox(label="Model Output", interactive=False, lines=20, show_copy_button=True)
|
| 306 |
|
| 307 |
gr.Examples(
|
|
@@ -314,7 +314,7 @@ def create_gradio_interface():
|
|
| 314 |
)
|
| 315 |
|
| 316 |
# --- TAB 2: Moondream3 Lab ---
|
| 317 |
-
with gr.TabItem("🌝 Moondream3
|
| 318 |
with gr.Row():
|
| 319 |
with gr.Column(scale=1):
|
| 320 |
md3_image_input = gr.Image(label="Upload an image", type="pil", height=400)
|
|
|
|
| 282 |
with gr.TabItem("📄 Document & General VLM"):
|
| 283 |
with gr.Row():
|
| 284 |
with gr.Column(scale=1):
|
| 285 |
+
#gr.Markdown("### 1. Configure Inputs")
|
| 286 |
model_choice = gr.Dropdown(
|
| 287 |
choices=["Camel-Doc-OCR-062825 (OCR)", "MinerU2.5-2509 (General)"],
|
| 288 |
label="Select Model", value= "Camel-Doc-OCR-062825 (OCR)"
|
|
|
|
| 301 |
clear_btn = gr.Button("🗑️ Clear", variant="secondary")
|
| 302 |
|
| 303 |
with gr.Column(scale=2):
|
| 304 |
+
#gr.Markdown("### 2. View Output")
|
| 305 |
output_stream = gr.Textbox(label="Model Output", interactive=False, lines=20, show_copy_button=True)
|
| 306 |
|
| 307 |
gr.Examples(
|
|
|
|
| 314 |
)
|
| 315 |
|
| 316 |
# --- TAB 2: Moondream3 Lab ---
|
| 317 |
+
with gr.TabItem("🌝 Moondream3"):
|
| 318 |
with gr.Row():
|
| 319 |
with gr.Column(scale=1):
|
| 320 |
md3_image_input = gr.Image(label="Upload an image", type="pil", height=400)
|