Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ except ValueError as e:
|
|
19 |
model = None
|
20 |
print(f"Error with model configuration: {str(e)}")
|
21 |
|
22 |
-
@spaces.GPU
|
23 |
def process_pdf(pdf_file):
|
24 |
"""
|
25 |
Process the uploaded PDF file one page at a time, yielding HTML for each page
|
|
|
19 |
model = None
|
20 |
print(f"Error with model configuration: {str(e)}")
|
21 |
|
22 |
+
@spaces.GPU(duration=120)
|
23 |
def process_pdf(pdf_file):
|
24 |
"""
|
25 |
Process the uploaded PDF file one page at a time, yielding HTML for each page
|