Spaces:
Sleeping
Sleeping
venkat charan
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import streamlit as st
|
|
9 |
|
10 |
genai_key = os.getenv("gen_key")
|
11 |
|
12 |
-
model = ChatGoogleGenerativeAI(temperature=0,model='gemini-1.5-pro',max_output_tokens=150,convert_system_message_to_human=True,
|
13 |
|
14 |
prompt=ChatPromptTemplate.from_messages([
|
15 |
("system","you are a good assistant"),
|
|
|
9 |
|
10 |
genai_key = os.getenv("gen_key")
|
11 |
|
12 |
+
model = ChatGoogleGenerativeAI(temperature=0,model='gemini-1.5-pro',max_output_tokens=150,convert_system_message_to_human=True,google_api_key=genai_key)
|
13 |
|
14 |
prompt=ChatPromptTemplate.from_messages([
|
15 |
("system","you are a good assistant"),
|