Spaces:
Runtime error
Runtime error
Shashidhar226
commited on
Update app.py
Browse files
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(
|
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"],
|