Shashidhar226 commited on
Commit
cf65b89
·
verified ·
1 Parent(s): b3993d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ import os
24
  os.environ["GOOGLE_API_KEY"] = 'AIzaSyAsZTv6rUZq0TAh6yfmVCDA0tPIcGU3VxA'
25
 
26
  # llm = ChatOpenAI(temperature=0.2, model_name="gpt-3.5-turbo")
27
- llm = ChatGoogleGenerativeAI(google_api_key=google_api_key, model="gemini-pro")
28
 
29
  prompt = PromptTemplate(
30
  input_variables=["question", "elements"],
 
24
  os.environ["GOOGLE_API_KEY"] = 'AIzaSyAsZTv6rUZq0TAh6yfmVCDA0tPIcGU3VxA'
25
 
26
  # llm = ChatOpenAI(temperature=0.2, model_name="gpt-3.5-turbo")
27
+ llm = ChatGoogleGenerativeAI(temperature=0.2, model="gemini-pro")
28
 
29
  prompt = PromptTemplate(
30
  input_variables=["question", "elements"],