Spaces:
Configuration error
Configuration error
tayhan
commited on
Commit
·
3c67cdd
1
Parent(s):
59d3017
compose
Browse files- docker-compose.yml +17 -0
docker-compose.yml
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
version: "3.7"
|
2 |
+
services:
|
3 |
+
minigpt4:
|
4 |
+
platform: linux/amd64
|
5 |
+
image: forfor/mini
|
6 |
+
entrypoint: ["python","-m","http.server", "5000"]
|
7 |
+
#entrypoint: ["conda", "run", "-no-capture-output", "-n","minigpt4", "python", "minigpt-final/api.py", "--cfg-path", "minigpt-final/eval_configs/minigpt4_eval.yaml"]
|
8 |
+
#python minigpt-final/api.py --cfg-path minigpt-final/eval_configs/minigpt4_eval.yaml
|
9 |
+
ports:
|
10 |
+
- target: 5000
|
11 |
+
published: 5000
|
12 |
+
protocol: tcp
|
13 |
+
mode: host
|
14 |
+
volumes:
|
15 |
+
app:
|
16 |
+
networks:
|
17 |
+
default:
|