Zeel commited on
Commit
3ff7e5e
1 Parent(s): 8faaeb8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -207,7 +207,7 @@ if prompt:
207
  for i in range(1):
208
  print(f"Attempt {i+1}")
209
  if model_name == "gemini-pro":
210
- llm = GoogleGenerativeAI(model=model, google_api_key=os.getenv("GEMINI_TOKEN"), temperature=0)
211
  else:
212
  llm = ChatGroq(model=models[model_name], api_key=os.getenv("GROQ_API"), temperature=0)
213
 
 
207
  for i in range(1):
208
  print(f"Attempt {i+1}")
209
  if model_name == "gemini-pro":
210
+ llm = GoogleGenerativeAI(model=models[model_name], google_api_key=os.getenv("GEMINI_TOKEN"), temperature=0)
211
  else:
212
  llm = ChatGroq(model=models[model_name], api_key=os.getenv("GROQ_API"), temperature=0)
213