Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,8 +16,7 @@ groq_chat = ChatGroq(groq_api_key=os.environ.get("GROQ_API_KEY"))
|
|
16 |
|
17 |
# Initialize Google Langchain chat object and conversation
|
18 |
os.environ["GOOGLE_API_KEY"] = os.environ.get("GOOGLE_API_KEY")
|
19 |
-
google_chat = ChatGoogleGenerativeAI(model="gemini-1.5-pro")
|
20 |
-
|
21 |
|
22 |
# Initialize memory to manages the chat history,
|
23 |
# ensuring the AI remembers the specified number of history messages, in this case 8.
|
|
|
16 |
|
17 |
# Initialize Google Langchain chat object and conversation
|
18 |
os.environ["GOOGLE_API_KEY"] = os.environ.get("GOOGLE_API_KEY")
|
19 |
+
google_chat = ChatGoogleGenerativeAI(model="gemini-1.5-pro")
|
|
|
20 |
|
21 |
# Initialize memory to manages the chat history,
|
22 |
# ensuring the AI remembers the specified number of history messages, in this case 8.
|