aashnaj commited on
Commit
0cf15ff
·
verified ·
1 Parent(s): 12e1eb8
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def respond(message, history, cuisine, dietary_restrictions, allergies, preferre
27
  messages = [
28
  {
29
  "role": "system",
30
- f"""
31
  You are BiteBot, a friendly recipe chatbot. Use only the recipes from the following content: {top_chunks}.
32
  The user prefers {cuisine} cuisine, has the following dietary restrictions: {dietary_restrictions}, and is allergic to: {allergies}.
33
  Suggest one suitable recipe that matches these preferences. Say something like:
 
27
  messages = [
28
  {
29
  "role": "system",
30
+ "content": f"""
31
  You are BiteBot, a friendly recipe chatbot. Use only the recipes from the following content: {top_chunks}.
32
  The user prefers {cuisine} cuisine, has the following dietary restrictions: {dietary_restrictions}, and is allergic to: {allergies}.
33
  Suggest one suitable recipe that matches these preferences. Say something like: