jenngang commited on
Commit
64309c8
·
verified ·
1 Parent(s): 62a0bae

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -698,14 +698,7 @@ class NutritionBot:
698
  st.write("Context: ", context)
699
 
700
  # Prepare a prompt combining past context and the current query
701
- prompt = f"""
702
- Context:
703
- {context}
704
-
705
- Current customer query: {query}
706
-
707
- Provide a helpful response that takes into account any relevant past interactions.
708
- """
709
  print("Got prepare for invoke...")
710
 
711
  # Generate a response using the agent
 
698
  st.write("Context: ", context)
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
  print("Got prepare for invoke...")
703
 
704
  # Generate a response using the agent