Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -128,7 +128,7 @@ def find_result_image(path):
|
|
| 128 |
return None
|
| 129 |
|
| 130 |
@spaces.GPU
|
| 131 |
-
def process_ocr_task(image, model_size, task_type, ref_text):
|
| 132 |
"""
|
| 133 |
Processes an image with DeepSeek-OCR. The model is already on the correct device.
|
| 134 |
"""
|
|
|
|
| 128 |
return None
|
| 129 |
|
| 130 |
@spaces.GPU
|
| 131 |
+
def process_ocr_task(image, model_size, task_type, ref_text = None):
|
| 132 |
"""
|
| 133 |
Processes an image with DeepSeek-OCR. The model is already on the correct device.
|
| 134 |
"""
|