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