zliang commited on
Commit
523db29
1 Parent(s): a9ec8e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ from imagesummary_fun import *
18
  # Assuming all your defined functions are above and imported correctly into this script
19
 
20
 
21
-
22
  def process_pdf(pdf_file,state):
23
  #base_name = os.path.splitext(os.path.basename(pdf_file.name))[0]
24
  unique_id = str(uuid.uuid4()) # Generate a unique identifier
 
18
  # Assuming all your defined functions are above and imported correctly into this script
19
 
20
 
21
+ @spaces.GPU
22
  def process_pdf(pdf_file,state):
23
  #base_name = os.path.splitext(os.path.basename(pdf_file.name))[0]
24
  unique_id = str(uuid.uuid4()) # Generate a unique identifier