Spaces:
Sleeping
Sleeping
dinhquangson
commited on
Commit
•
15c6902
1
Parent(s):
e681760
Update app.py
Browse files
app.py
CHANGED
@@ -159,7 +159,7 @@ def main():
|
|
159 |
os.environ["HUGGINGFACEHUB_API_TOKEN"] = huggingface_token
|
160 |
#os.environ["OPENAI_API_KEY"] = openai_api_key
|
161 |
|
162 |
-
|
163 |
if "chat_history" not in st.session_state:
|
164 |
st.session_state.chat_history = None
|
165 |
|
|
|
159 |
os.environ["HUGGINGFACEHUB_API_TOKEN"] = huggingface_token
|
160 |
#os.environ["OPENAI_API_KEY"] = openai_api_key
|
161 |
|
162 |
+
st.session_state.conversation={}
|
163 |
if "chat_history" not in st.session_state:
|
164 |
st.session_state.chat_history = None
|
165 |
|