Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,10 +6,9 @@ from langchain.memory import ConversationBufferMemory
|
|
6 |
|
7 |
|
8 |
import getpass
|
9 |
-
import os
|
10 |
-
|
11 |
|
12 |
-
os.environ
|
|
|
13 |
|
14 |
template = """You are a helpful assistant to answer all user queries.
|
15 |
{chat_history}
|
|
|
6 |
|
7 |
|
8 |
import getpass
|
|
|
|
|
9 |
|
10 |
+
token=os.environ.get("TOKEN")
|
11 |
+
os.environ["GOOGLE_API_KEY"] = token
|
12 |
|
13 |
template = """You are a helpful assistant to answer all user queries.
|
14 |
{chat_history}
|