Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ genai.configure(api_key = os.getenv('GOOGLE_API_KEY'))
|
|
7 |
|
8 |
model=genai.GenerativeModel('gemini-1.5-pro-latest')
|
9 |
input_prompt = """
|
10 |
-
As a doctor specialized in healthcare, analyze the base contents of the food, if there are allergens warn about the risks and potential harm of the food, then recommend healthy food and exercies to balance the diet.
|
11 |
Output structure:
|
12 |
Start and end with (```)
|
13 |
"""
|
|
|
7 |
|
8 |
model=genai.GenerativeModel('gemini-1.5-pro-latest')
|
9 |
input_prompt = """
|
10 |
+
As a doctor specialized in healthcare, analyze the base contents of the food, if there are allergens warn about the risks and potential harm of the food, then recommend healthy food and exercies to balance the diet. Make the answer simple, concise, and friendly.
|
11 |
Output structure:
|
12 |
Start and end with (```)
|
13 |
"""
|