Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ def process_file(file_path, user_prompt):
|
|
| 54 |
pdf.cell(200, 10, txt=line, ln=True)
|
| 55 |
|
| 56 |
# Save the generated PDF
|
| 57 |
-
pdf_file = "
|
| 58 |
pdf.output(pdf_file)
|
| 59 |
return "File processed successfully.", pdf_file
|
| 60 |
except Exception as e:
|
|
|
|
| 54 |
pdf.cell(200, 10, txt=line, ln=True)
|
| 55 |
|
| 56 |
# Save the generated PDF
|
| 57 |
+
pdf_file = "updated_file.pdf"
|
| 58 |
pdf.output(pdf_file)
|
| 59 |
return "File processed successfully.", pdf_file
|
| 60 |
except Exception as e:
|