XThomasBU
commited on
Commit
·
da88571
1
Parent(s):
e19e333
updates
Browse files- Dockerfile.dev +2 -2
- README.md +1 -1
- requirements.txt +24 -26
Dockerfile.dev
CHANGED
|
@@ -25,7 +25,7 @@ RUN mkdir /.cache && chmod -R 777 /.cache
|
|
| 25 |
WORKDIR /code/code
|
| 26 |
|
| 27 |
# Expose the port the app runs on
|
| 28 |
-
EXPOSE
|
| 29 |
|
| 30 |
# Default command to run the application
|
| 31 |
-
CMD ["sh", "-c", "python -m modules.vectorstore.store_manager && chainlit run main.py --host 0.0.0.0 --port
|
|
|
|
| 25 |
WORKDIR /code/code
|
| 26 |
|
| 27 |
# Expose the port the app runs on
|
| 28 |
+
EXPOSE 8000
|
| 29 |
|
| 30 |
# Default command to run the application
|
| 31 |
+
CMD ["sh", "-c", "python -m modules.vectorstore.store_manager && chainlit run main.py --host 0.0.0.0 --port 8000"]
|
README.md
CHANGED
|
@@ -76,7 +76,7 @@ The HuggingFace Space is built using the `Dockerfile` in the repository. To run
|
|
| 76 |
|
| 77 |
```bash
|
| 78 |
docker build --tag dev -f Dockerfile.dev .
|
| 79 |
-
docker run -it --rm -p
|
| 80 |
```
|
| 81 |
|
| 82 |
## Contributing
|
|
|
|
| 76 |
|
| 77 |
```bash
|
| 78 |
docker build --tag dev -f Dockerfile.dev .
|
| 79 |
+
docker run -it --rm -p 8000:8000 dev
|
| 80 |
```
|
| 81 |
|
| 82 |
## Contributing
|
requirements.txt
CHANGED
|
@@ -1,27 +1,25 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
langchain
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
trulens-eval==0.31.0
|
| 25 |
-
llama-cpp-python==0.2.77
|
| 26 |
-
pymupdf==1.24.5
|
| 27 |
websockets
|
|
|
|
|
|
| 1 |
+
aiohttp
|
| 2 |
+
beautifulsoup4
|
| 3 |
+
chainlit
|
| 4 |
+
langchain
|
| 5 |
+
langchain-community
|
| 6 |
+
langchain-core
|
| 7 |
+
literalai
|
| 8 |
+
llama-parse
|
| 9 |
+
numpy
|
| 10 |
+
pandas
|
| 11 |
+
pysrt
|
| 12 |
+
python-dotenv
|
| 13 |
+
PyYAML
|
| 14 |
+
RAGatouille
|
| 15 |
+
requests
|
| 16 |
+
scikit-learn
|
| 17 |
+
torch
|
| 18 |
+
tqdm
|
| 19 |
+
transformers
|
| 20 |
+
trulens_eval
|
| 21 |
+
umap-learn
|
| 22 |
+
llama-cpp-python
|
| 23 |
+
pymupdf
|
|
|
|
|
|
|
|
|
|
| 24 |
websockets
|
| 25 |
+
langchain-openai
|