Spaces:
Sleeping
Sleeping
Commit ·
4df8a92
1
Parent(s): 18a508e
fix: ollama serve
Browse files- Dockerfile +1 -1
- src/streamlit_app.py +1 -1
Dockerfile
CHANGED
|
@@ -10,7 +10,7 @@ RUN apt-get update && apt-get install -y \
|
|
| 10 |
|
| 11 |
RUN curl -fsSL https://ollama.com/install.sh | sh
|
| 12 |
|
| 13 |
-
RUN ollama serve
|
| 14 |
|
| 15 |
COPY requirements.txt ./
|
| 16 |
COPY src/ ./src/
|
|
|
|
| 10 |
|
| 11 |
RUN curl -fsSL https://ollama.com/install.sh | sh
|
| 12 |
|
| 13 |
+
RUN ollama serve &
|
| 14 |
|
| 15 |
COPY requirements.txt ./
|
| 16 |
COPY src/ ./src/
|
src/streamlit_app.py
CHANGED
|
@@ -5,7 +5,7 @@ from huggingface_hub import hf_hub_download
|
|
| 5 |
|
| 6 |
# Download the .faiss file from a model or dataset repo
|
| 7 |
index_path = hf_hub_download(
|
| 8 |
-
repo_id="mrfirdauss/FaissBhatlaBook
|
| 9 |
filename="vs_68bf713eea2c81919ac08298a05d6704/index.faiss"
|
| 10 |
)
|
| 11 |
|
|
|
|
| 5 |
|
| 6 |
# Download the .faiss file from a model or dataset repo
|
| 7 |
index_path = hf_hub_download(
|
| 8 |
+
repo_id="mrfirdauss/FaissBhatlaBook",
|
| 9 |
filename="vs_68bf713eea2c81919ac08298a05d6704/index.faiss"
|
| 10 |
)
|
| 11 |
|