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