Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -358,7 +358,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
| 358 |
with gr.Column():
|
| 359 |
input_img = gr.Image(label="Input Image [ 1024x1024 ]", type="pil")
|
| 360 |
system_prompt = gr.Textbox(label="System Prompt", value=default_system_prompt, visible=False)
|
| 361 |
-
text_input = gr.Textbox(label="Query Input",
|
| 362 |
submit_btn = gr.Button(value="Submit", elem_classes="submit-btn")
|
| 363 |
gr.Examples(
|
| 364 |
examples=object_detection_examples,
|
|
@@ -389,7 +389,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
| 389 |
markdown_output = gr.Markdown(label="Formatted Result (Result.Md)")
|
| 390 |
|
| 391 |
model_choice = gr.Radio(
|
| 392 |
-
choices=["Camel-Doc-OCR-062825", "
|
| 393 |
label="Select Model",
|
| 394 |
value="Camel-Doc-OCR-062825"
|
| 395 |
)
|
|
|
|
| 358 |
with gr.Column():
|
| 359 |
input_img = gr.Image(label="Input Image [ 1024x1024 ]", type="pil")
|
| 360 |
system_prompt = gr.Textbox(label="System Prompt", value=default_system_prompt, visible=False)
|
| 361 |
+
text_input = gr.Textbox(label="Query Input", placeholder="Enter query...")
|
| 362 |
submit_btn = gr.Button(value="Submit", elem_classes="submit-btn")
|
| 363 |
gr.Examples(
|
| 364 |
examples=object_detection_examples,
|
|
|
|
| 389 |
markdown_output = gr.Markdown(label="Formatted Result (Result.Md)")
|
| 390 |
|
| 391 |
model_choice = gr.Radio(
|
| 392 |
+
choices=["Camel-Doc-OCR-062825", "ViLaSR-7B", "OCRFlux-3B", "ShotVL-7B"],
|
| 393 |
label="Select Model",
|
| 394 |
value="Camel-Doc-OCR-062825"
|
| 395 |
)
|