akhaliq HF Staff commited on
Commit
2643bec
·
verified ·
1 Parent(s): 3d50de0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ model = AutoModel.from_pretrained(
19
  model = model.eval()
20
 
21
 
22
- @spaces.GPU
23
  def ocr_process(
24
  image_input: Image.Image,
25
  task_type: str = "ocr",
 
19
  model = model.eval()
20
 
21
 
22
+ @spaces.GPU(duration=120)
23
  def ocr_process(
24
  image_input: Image.Image,
25
  task_type: str = "ocr",