Aadarshwahmare commited on
Commit
b1f476a
·
verified ·
1 Parent(s): 333171e

Fix model and API issue

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import os
6
  genai.configure(api_key=os.getenv("GOOGLE_API_KEY"))
7
 
8
  # Use correct model
9
- model = genai.GenerativeModel("gemini-1.5-flash")
10
 
11
  def fitness_coach(age, weight, goal, activity):
12
  try:
 
6
  genai.configure(api_key=os.getenv("GOOGLE_API_KEY"))
7
 
8
  # Use correct model
9
+ model = genai.GenerativeModel("gemini-pro")
10
 
11
  def fitness_coach(age, weight, goal, activity):
12
  try: