Spaces:
Running
Running
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -699,11 +699,11 @@ class NutritionBot:
|
|
699 |
|
700 |
# Prepare a prompt combining past context and the current query
|
701 |
#prompt = f"""Context: {context}; Current customer query: {query}; Provide a helpful response that takes into account any relevant past interactions."""
|
702 |
-
prompt_str = f" \
|
703 |
Context: {context} \
|
704 |
Current customer query: {query} \
|
705 |
Provide a helpful response that takes into account any relevant past interactions. \
|
706 |
-
"
|
707 |
#prompt = f"""
|
708 |
#Context: {context}
|
709 |
#Current customer query: {query}
|
|
|
699 |
|
700 |
# Prepare a prompt combining past context and the current query
|
701 |
#prompt = f"""Context: {context}; Current customer query: {query}; Provide a helpful response that takes into account any relevant past interactions."""
|
702 |
+
prompt_str = f""" \
|
703 |
Context: {context} \
|
704 |
Current customer query: {query} \
|
705 |
Provide a helpful response that takes into account any relevant past interactions. \
|
706 |
+
"""
|
707 |
#prompt = f"""
|
708 |
#Context: {context}
|
709 |
#Current customer query: {query}
|