Spaces:
Sleeping
Sleeping
sijiezhao
commited on
Commit
·
e2319c5
1
Parent(s):
e27e6dc
update
Browse files- Dockerfile +1 -1
- start.sh +2 -2
Dockerfile
CHANGED
@@ -4,7 +4,7 @@ FROM python:3.11
|
|
4 |
# Set the working directory to /code
|
5 |
WORKDIR /code
|
6 |
|
7 |
-
RUN apt-get update && apt-get install -y screen git
|
8 |
RUN git lfs install
|
9 |
|
10 |
# Copy the current directory contents into the container at /code
|
|
|
4 |
# Set the working directory to /code
|
5 |
WORKDIR /code
|
6 |
|
7 |
+
RUN apt-get update && apt-get install -y screen git git-lfs
|
8 |
RUN git lfs install
|
9 |
|
10 |
# Copy the current directory contents into the container at /code
|
start.sh
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
-
screen -S script1 -dm bash -c 'python3 gradio_demo/seed_llama_flask.py --image_transform configs/transform/clip_transform.yaml --tokenizer configs/tokenizer/seed_llama_tokenizer.yaml --model configs/llm/seed_llama_14b.yaml --port 7890 --llm_device cuda:0 --tokenizer_device cuda:0 --offload_tokenizer; exec bash'
|
4 |
-
screen -S script2 -dm bash -c 'python3 gradio_demo/seed_llama_gradio.py; exec bash'
|
5 |
|
6 |
tail -f /dev/null
|
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
+
# screen -S script1 -dm bash -c 'python3 gradio_demo/seed_llama_flask.py --image_transform configs/transform/clip_transform.yaml --tokenizer configs/tokenizer/seed_llama_tokenizer.yaml --model configs/llm/seed_llama_14b.yaml --port 7890 --llm_device cuda:0 --tokenizer_device cuda:0 --offload_tokenizer; exec bash'
|
4 |
+
screen -S script2 -dm bash -c 'python3 gradio_demo/seed_llama_gradio.py --server_name 0.0.0.0 --server_port 7860; exec bash'
|
5 |
|
6 |
tail -f /dev/null
|