Spaces:
Running
Running
Update config.py
Browse files
config.py
CHANGED
@@ -29,6 +29,7 @@ def write_email(name, company, ai_email):
|
|
29 |
if not os.path.exists(output_folder):
|
30 |
os.makedirs(output_folder)
|
31 |
|
32 |
-
|
|
|
33 |
|
34 |
-
return
|
|
|
29 |
if not os.path.exists(output_folder):
|
30 |
os.makedirs(output_folder)
|
31 |
|
32 |
+
file_path = os.path.join(output_folder, f"{name}, {company}.docx")
|
33 |
+
doc.save(file_path)
|
34 |
|
35 |
+
return file_path # Return the file path for Gradio to use
|