Spaces:
Runtime error
Runtime error
update github repo
Browse files- Dockerfile +1 -3
- start.sh +1 -3
Dockerfile
CHANGED
@@ -21,9 +21,7 @@ RUN pip install --no-cache-dir -U pip setuptools wheel && \
|
|
21 |
pip install "huggingface-hub" "hf-transfer" "gradio[oauth]>=4.28.0" "gradio_huggingfacehub_search==0.0.7" "APScheduler"
|
22 |
|
23 |
COPY --chown=1000 . ${HOME}/app
|
24 |
-
|
25 |
-
# RUN git clone https://github.com/ggerganov/llama.cpp --depth 1
|
26 |
-
RUN git clone https://github.com/ngxson/llama.cpp -b xsn/lora_convert_base_is_optional --depth 1
|
27 |
RUN pip install -r llama.cpp/requirements.txt
|
28 |
|
29 |
ENV PYTHONPATH=${HOME}/app \
|
|
|
21 |
pip install "huggingface-hub" "hf-transfer" "gradio[oauth]>=4.28.0" "gradio_huggingfacehub_search==0.0.7" "APScheduler"
|
22 |
|
23 |
COPY --chown=1000 . ${HOME}/app
|
24 |
+
RUN git clone https://github.com/ggerganov/llama.cpp --depth 1
|
|
|
|
|
25 |
RUN pip install -r llama.cpp/requirements.txt
|
26 |
|
27 |
ENV PYTHONPATH=${HOME}/app \
|
start.sh
CHANGED
@@ -2,9 +2,7 @@
|
|
2 |
|
3 |
if [ ! -d "llama.cpp" ]; then
|
4 |
# only run in dev env
|
5 |
-
|
6 |
-
# git clone https://github.com/ggerganov/llama.cpp --depth 1
|
7 |
-
git clone https://github.com/ngxson/llama.cpp -b xsn/lora_convert_base_is_optional --depth 1
|
8 |
fi
|
9 |
|
10 |
python app.py
|
|
|
2 |
|
3 |
if [ ! -d "llama.cpp" ]; then
|
4 |
# only run in dev env
|
5 |
+
git clone https://github.com/ggerganov/llama.cpp --depth 1
|
|
|
|
|
6 |
fi
|
7 |
|
8 |
python app.py
|