Update app.py
Browse files
app.py
CHANGED
|
@@ -371,5 +371,12 @@ def collect_basic_info():
|
|
| 371 |
with open(filename, 'wb') as f:
|
| 372 |
f.write(doc_bytes.getbuffer())
|
| 373 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 374 |
|
|
|
|
|
|
|
| 375 |
collect_basic_info()
|
|
|
|
| 371 |
with open(filename, 'wb') as f:
|
| 372 |
f.write(doc_bytes.getbuffer())
|
| 373 |
|
| 374 |
+
# Prepare files for upload (including the generated proposal)
|
| 375 |
+
file_paths = [filename]
|
| 376 |
+
|
| 377 |
+
# Upload the files to transfer.sh
|
| 378 |
+
urls, html_content = upload_files_to_transfer_sh(file_paths)
|
| 379 |
|
| 380 |
+
print (f"Proposal saved as {filepath}. Uploaded to transfer.sh: {', '.join(urls)}")
|
| 381 |
+
|
| 382 |
collect_basic_info()
|