aaronmat1905 commited on
Commit
ca76381
·
verified ·
1 Parent(s): 74019c1
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ model_path = "gemini-1.5-flash"
26
  FoodSafetyAssistant = genai.GenerativeModel(model_path, system_instruction=system_instruction)
27
 
28
  def respond(usertxt):
29
- response = FoodSafetyAssistant.generate_content(contents=[prompt]
30
  return response.text
31
 
32
  html_content = """
 
26
  FoodSafetyAssistant = genai.GenerativeModel(model_path, system_instruction=system_instruction)
27
 
28
  def respond(usertxt):
29
+ response = FoodSafetyAssistant.generate_content(contents=[usertxt])
30
  return response.text
31
 
32
  html_content = """