Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import chainlit as cl
|
| 2 |
from langchain.vectorstores import FAISS
|
| 3 |
from langchain.embeddings import HuggingFaceEmbeddings
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
os.environ["CHAINLIT_CONFIG_DIR"] = "/tmp/.chainlit"
|
| 3 |
+
os.environ["CHAINLIT_FILES_PATH"] = "/tmp/.chainlit/files"
|
| 4 |
+
|
| 5 |
+
|
| 6 |
import chainlit as cl
|
| 7 |
from langchain.vectorstores import FAISS
|
| 8 |
from langchain.embeddings import HuggingFaceEmbeddings
|