Spaces:
Sleeping
Sleeping
Commit ·
6cd44df
1
Parent(s): 45ec2fc
changed app.py for hugging face deployment
Browse files
app.py
CHANGED
|
@@ -6,6 +6,8 @@ from langchain_community.vectorstores import FAISS
|
|
| 6 |
from langchain_groq import ChatGroq
|
| 7 |
import os
|
| 8 |
import tempfile
|
|
|
|
|
|
|
| 9 |
if "messages" not in st.session_state:
|
| 10 |
st.session_state.messages = []
|
| 11 |
if "retriever" not in st.session_state:
|
|
|
|
| 6 |
from langchain_groq import ChatGroq
|
| 7 |
import os
|
| 8 |
import tempfile
|
| 9 |
+
from dotenv import load_dotenv
|
| 10 |
+
load_dotenv()
|
| 11 |
if "messages" not in st.session_state:
|
| 12 |
st.session_state.messages = []
|
| 13 |
if "retriever" not in st.session_state:
|