init
Browse files
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=[
|
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 = """
|