moazzamdev commited on
Commit
acf55ae
·
1 Parent(s): 799f0ec

Update page3.py

Browse files
Files changed (1) hide show
  1. page3.py +2 -1
page3.py CHANGED
@@ -4,8 +4,9 @@ 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")
 
4
 
5
  import time
6
  import os
7
+
8
  def details():
9
+ api = os.environ.get("api_key")
10
  apiKey = api
11
  llm = ChatGoogleGenerativeAI(model="gemini-pro", google_api_key=apiKey)
12
  st.header("Introducing Gemini")