evalstate HF Staff commited on
Commit
f002139
·
verified ·
1 Parent(s): 5b66d25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
  """