Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1279,7 +1279,7 @@ def create_pdf(cname,ename,account_number, directory):
|
|
1279 |
|
1280 |
return f"{output_file_name} is created successfully."
|
1281 |
|
1282 |
-
def zip_files_in_folder(
|
1283 |
# Initialize the ZIP file
|
1284 |
with zipfile.ZipFile(output_zip, 'w', zipfile.ZIP_DEFLATED) as zipf:
|
1285 |
# Walk through the directory and add PDF files to the ZIP
|
|
|
1279 |
|
1280 |
return f"{output_file_name} is created successfully."
|
1281 |
|
1282 |
+
def zip_files_in_folder(directory, output_zip):
|
1283 |
# Initialize the ZIP file
|
1284 |
with zipfile.ZipFile(output_zip, 'w', zipfile.ZIP_DEFLATED) as zipf:
|
1285 |
# Walk through the directory and add PDF files to the ZIP
|