Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -249,7 +249,8 @@ with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
|
|
| 249 |
label="Select Model",
|
| 250 |
value="Nanonets-OCR2-3B"
|
| 251 |
)
|
| 252 |
-
|
|
|
|
| 253 |
image_submit.click(
|
| 254 |
fn=generate_image,
|
| 255 |
inputs=[model_choice, image_query, image_upload, max_new_tokens, temperature, top_p, top_k, repetition_penalty],
|
|
|
|
| 249 |
label="Select Model",
|
| 250 |
value="Nanonets-OCR2-3B"
|
| 251 |
)
|
| 252 |
+
gr.Markdown("Note: Currently, PaddleOCR VL only supports OCR inference. Structured OCR document parsing transformer inference is coming soon.")
|
| 253 |
+
|
| 254 |
image_submit.click(
|
| 255 |
fn=generate_image,
|
| 256 |
inputs=[model_choice, image_query, image_upload, max_new_tokens, temperature, top_p, top_k, repetition_penalty],
|