jkorstad commited on
Commit
53baa70
·
verified ·
1 Parent(s): 73efe67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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