Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -390,7 +390,7 @@ def chatbot(user_input, science_objectives="", context="", subdomain="", use_enc
|
|
| 390 |
)
|
| 391 |
|
| 392 |
if science_objectives.strip():
|
| 393 |
-
response = f"### Science Objectives (User-Defined):\n{science_objectives}\n\n" + response
|
| 394 |
|
| 395 |
# Export the response to a Word document
|
| 396 |
word_doc_path = export_to_word(response, subdomain, user_input)
|
|
|
|
| 390 |
)
|
| 391 |
|
| 392 |
if science_objectives.strip():
|
| 393 |
+
response = f"### Science Objectives (User-Defined):\n\n{science_objectives}\n\n" + response
|
| 394 |
|
| 395 |
# Export the response to a Word document
|
| 396 |
word_doc_path = export_to_word(response, subdomain, user_input)
|