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

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 = None):
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,progress=gr.Progress(track_tqdm=True)):
132
  """
133
  Processes an image with DeepSeek-OCR. The model is already on the correct device.
134
  """