Spaces:
Sleeping
Sleeping
macadeliccc
commited on
Commit
•
d800441
1
Parent(s):
2401917
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -13,9 +13,9 @@ COPY ./requirements.txt /app/
|
|
13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
14 |
|
15 |
# Download model
|
16 |
-
RUN MODEL_NAME_FILE=$(echo ${MODEL#*/} |
|
17 |
wget https://huggingface.co/${MODEL}/resolve/main/${MODEL_NAME_FILE}.${QUANT}.gguf -O model.gguf
|
18 |
-
|
19 |
# Copy the rest of your application
|
20 |
COPY . .
|
21 |
|
|
|
13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
14 |
|
15 |
# Download model
|
16 |
+
RUN MODEL_NAME_FILE=$(echo ${MODEL#*/} | sed 's/-GGUF$//') && \
|
17 |
wget https://huggingface.co/${MODEL}/resolve/main/${MODEL_NAME_FILE}.${QUANT}.gguf -O model.gguf
|
18 |
+
|
19 |
# Copy the rest of your application
|
20 |
COPY . .
|
21 |
|