Spaces:
Sleeping
Sleeping
update demo
Browse files- Dockerfile +2 -2
- start.sh +1 -0
Dockerfile
CHANGED
@@ -67,5 +67,5 @@ RUN pip install -r requirements.txt
|
|
67 |
|
68 |
RUN ls -lh
|
69 |
|
70 |
-
|
71 |
-
CMD ["python", 'start.py']
|
|
|
67 |
|
68 |
RUN ls -lh
|
69 |
|
70 |
+
CMD ["bash", "start.sh"]
|
71 |
+
# CMD ["python", 'start.py']
|
start.sh
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
python3 gradio_demo/seed_llama_flask.py \
|
2 |
--image_transform configs/transform/clip_transform.yaml \
|
3 |
--tokenizer configs/tokenizer/seed_llama_tokenizer_hf.yaml \
|
|
|
1 |
+
nohup python3 gradio_demo/seed_llama_gradio.py --server_port 7860 --request_address http://127.0.0.1:7890/generate --model_type seed-llama-14b >./output.out &
|
2 |
python3 gradio_demo/seed_llama_flask.py \
|
3 |
--image_transform configs/transform/clip_transform.yaml \
|
4 |
--tokenizer configs/tokenizer/seed_llama_tokenizer_hf.yaml \
|