jenngang commited on
Commit
da826be
·
verified ·
1 Parent(s): ff7dfce

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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}