Spaces:
Running
on
Zero
Running
on
Zero
enable example cache
Browse files
app.py
CHANGED
|
@@ -175,7 +175,7 @@ with gr.Blocks(title="DeepSeek-OCR", theme=gr.themes.Soft()) as demo:
|
|
| 175 |
inputs=[image_input, model_size, task_type, eval_mode_checkbox],
|
| 176 |
outputs=[output_image, output_markdown, output_text],
|
| 177 |
fn=process_image,
|
| 178 |
-
cache_examples=
|
| 179 |
)
|
| 180 |
|
| 181 |
submit_btn.click(
|
|
|
|
| 175 |
inputs=[image_input, model_size, task_type, eval_mode_checkbox],
|
| 176 |
outputs=[output_image, output_markdown, output_text],
|
| 177 |
fn=process_image,
|
| 178 |
+
cache_examples=True,
|
| 179 |
)
|
| 180 |
|
| 181 |
submit_btn.click(
|