Spaces:
Running
on
Zero
Running
on
Zero
update app (#19)
Browse files- update app (4426e68102a0c1d81b3590f619c1f75206942871)
app.py
CHANGED
@@ -342,12 +342,16 @@ def create_gradio_interface():
|
|
342 |
# Left Column (Inputs)
|
343 |
with gr.Column(scale=1):
|
344 |
model_choice = gr.Dropdown(
|
345 |
-
choices=["LFM2-VL-450M(fast)", "LFM2-VL-1.6B(fast)", "SmolVLM-Instruct-250M(smol)", "Moondream2(vision)",
|
346 |
-
"
|
347 |
-
"
|
|
|
|
|
|
|
348 |
label="Select Model", value= "LFM2-VL-450M(fast)"
|
349 |
)
|
350 |
-
|
|
|
351 |
image_input = gr.Image(label="Upload Image", type="pil", sources=['upload'])
|
352 |
|
353 |
with gr.Accordion("Advanced Settings(pdf)", open=False):
|
|
|
342 |
# Left Column (Inputs)
|
343 |
with gr.Column(scale=1):
|
344 |
model_choice = gr.Dropdown(
|
345 |
+
choices=["LFM2-VL-450M(fast)", "LFM2-VL-1.6B(fast)", "SmolVLM-Instruct-250M(smol)", "Moondream2(vision)",
|
346 |
+
"ShotVL-3B(cinematic)", "Megalodon-OCR-Sync-0713(ocr)",
|
347 |
+
"VLAA-Thinker-Qwen2VL-2B(reason)", "MonkeyOCR-pro-1.2B(ocr)",
|
348 |
+
"Qwen2.5-VL-3B-Abliterated-Caption-it(caption)", "Nanonets-OCR-s(ocr)",
|
349 |
+
"LMM-R1-MGT-PerceReason(reason)", "OCRFlux-3B(ocr)", "TBAC-VLR1-3B(open-r1)",
|
350 |
+
"SmolVLM-500M-Instruct(smol)", "llava-onevision-qwen2-0.5b-ov-hf(mini)"],
|
351 |
label="Select Model", value= "LFM2-VL-450M(fast)"
|
352 |
)
|
353 |
+
|
354 |
+
prompt_input = gr.Textbox(label="Query Input", placeholder="✦︎ Enter your query")
|
355 |
image_input = gr.Image(label="Upload Image", type="pil", sources=['upload'])
|
356 |
|
357 |
with gr.Accordion("Advanced Settings(pdf)", open=False):
|