not-lain commited on
Commit
86c4ecf
·
verified ·
1 Parent(s): 4a77991

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ processor = AutoProcessor.from_pretrained(model_name)
20
  max_tokens = 2000
21
 
22
 
23
- @spaces.GPU(120)
24
  def perform_ocr(image):
25
  inputArray = np.any(image)
26
  if inputArray == False:
 
20
  max_tokens = 2000
21
 
22
 
23
+ @spaces.GPU(duration=120)
24
  def perform_ocr(image):
25
  inputArray = np.any(image)
26
  if inputArray == False: