Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -287,7 +287,7 @@ def create_gradio_interface():
|
|
| 287 |
choices=["Camel-Doc-OCR-062825 (OCR)", "MinerU2.5-2509 (General)"],
|
| 288 |
label="Select Model", value= "Camel-Doc-OCR-062825 (OCR)"
|
| 289 |
)
|
| 290 |
-
image_input_doc = gr.Image(label="Upload Image", type="pil", sources=['upload'])
|
| 291 |
prompt_input_doc = gr.Textbox(label="Query Input", placeholder="e.g., 'Transcribe the text in this document.'")
|
| 292 |
|
| 293 |
with gr.Accordion("Advanced Generation Settings", open=False):
|
|
|
|
| 287 |
choices=["Camel-Doc-OCR-062825 (OCR)", "MinerU2.5-2509 (General)"],
|
| 288 |
label="Select Model", value= "Camel-Doc-OCR-062825 (OCR)"
|
| 289 |
)
|
| 290 |
+
image_input_doc = gr.Image(label="Upload Image", type="pil", sources=['upload'], height=280)
|
| 291 |
prompt_input_doc = gr.Textbox(label="Query Input", placeholder="e.g., 'Transcribe the text in this document.'")
|
| 292 |
|
| 293 |
with gr.Accordion("Advanced Generation Settings", open=False):
|