Spaces:
Sleeping
Sleeping
sijiezhao
commited on
Commit
•
24353b2
1
Parent(s):
f4a0541
update
Browse files- Dockerfile +1 -1
- start.sh +1 -1
Dockerfile
CHANGED
@@ -12,7 +12,7 @@ COPY ./requirements.txt /code/requirements.txt
|
|
12 |
|
13 |
# Install requirements.txt
|
14 |
# RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
15 |
-
RUN pip install -r requirements.txt
|
16 |
|
17 |
# Set up a new user named "user" with user ID 1000
|
18 |
RUN useradd -m -u 1000 user
|
|
|
12 |
|
13 |
# Install requirements.txt
|
14 |
# RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
15 |
+
RUN pip install -r /code/requirements.txt
|
16 |
|
17 |
# Set up a new user named "user" with user ID 1000
|
18 |
RUN useradd -m -u 1000 user
|
start.sh
CHANGED
@@ -2,6 +2,6 @@
|
|
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 |
|
7 |
# tail -f /dev/null
|
|
|
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 |
+
python gradio_demo/seed_llama_gradio.py --server_name 0.0.0.0 --server_port 786
|
6 |
|
7 |
# tail -f /dev/null
|