Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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:
|