Spaces:
Running
Running
Commit
·
62935af
1
Parent(s):
91fe98c
Update page3.py
Browse files
page3.py
CHANGED
@@ -3,8 +3,10 @@ import streamlit as st
|
|
3 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
4 |
|
5 |
import time
|
|
|
|
|
6 |
def details():
|
7 |
-
apiKey =
|
8 |
llm = ChatGoogleGenerativeAI(model="gemini-pro", google_api_key=apiKey)
|
9 |
st.header("Introducing Gemini")
|
10 |
with st.chat_message("assistant"):
|
|
|
3 |
from langchain_google_genai import ChatGoogleGenerativeAI
|
4 |
|
5 |
import time
|
6 |
+
import os
|
7 |
+
api = os.environ.getattribute("api_key")
|
8 |
def details():
|
9 |
+
apiKey = api
|
10 |
llm = ChatGoogleGenerativeAI(model="gemini-pro", google_api_key=apiKey)
|
11 |
st.header("Introducing Gemini")
|
12 |
with st.chat_message("assistant"):
|