Update app.py
Browse files
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
|