Spaces:
Runtime error
Runtime error
Commit
Β·
3345f61
1
Parent(s):
ee5ea4a
add header
Browse files- Dockerfile +2 -2
- README.md +0 -10
- src/app.py β app.py +0 -0
Dockerfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
| 2 |
# you will also find guides on how best to write your Dockerfile
|
| 3 |
|
| 4 |
-
FROM python:3.
|
| 5 |
|
| 6 |
WORKDIR /app
|
| 7 |
|
|
@@ -11,4 +11,4 @@ COPY . .
|
|
| 11 |
|
| 12 |
RUN poetry install
|
| 13 |
|
| 14 |
-
CMD ["poetry", "run", "chainlit", "run", "
|
|
|
|
| 1 |
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
| 2 |
# you will also find guides on how best to write your Dockerfile
|
| 3 |
|
| 4 |
+
FROM python:3.10
|
| 5 |
|
| 6 |
WORKDIR /app
|
| 7 |
|
|
|
|
| 11 |
|
| 12 |
RUN poetry install
|
| 13 |
|
| 14 |
+
CMD ["poetry", "run", "chainlit", "run", "app.py", "--port", "7860"]
|
README.md
CHANGED
|
@@ -1,13 +1,3 @@
|
|
| 1 |
-
---
|
| 2 |
-
title: Haystack-7-wonders-chatbot
|
| 3 |
-
emoji: π
|
| 4 |
-
colorFrom: indigo
|
| 5 |
-
colorTo: red
|
| 6 |
-
sdk: docker
|
| 7 |
-
app_file: app.py
|
| 8 |
-
pinned: false
|
| 9 |
-
---
|
| 10 |
-
|
| 11 |
# Welcome!
|
| 12 |
|
| 13 |
This chatbot uses RAG to answer questions about the Seven Wonders of the Ancient World.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Welcome!
|
| 2 |
|
| 3 |
This chatbot uses RAG to answer questions about the Seven Wonders of the Ancient World.
|
src/app.py β app.py
RENAMED
|
File without changes
|