Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,9 +15,6 @@ from langchain_google_genai import ChatGoogleGenerativeAI
|
|
15 |
|
16 |
GOOGLE_API_KEY=os.environ['GOOGLE_API_KEY']
|
17 |
|
18 |
-
genai.configure(api_key=GOOGLE_API_KEY)
|
19 |
-
|
20 |
-
|
21 |
loader = WebBaseLoader("https://www.google.com/finance/?hl=en")
|
22 |
docs = loader.load()
|
23 |
# If there is no environment variable set for the API key, you can pass the API
|
|
|
15 |
|
16 |
GOOGLE_API_KEY=os.environ['GOOGLE_API_KEY']
|
17 |
|
|
|
|
|
|
|
18 |
loader = WebBaseLoader("https://www.google.com/finance/?hl=en")
|
19 |
docs = loader.load()
|
20 |
# If there is no environment variable set for the API key, you can pass the API
|