Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
-
docker run -d -p 5000:5000 --gpus=all r8.im/zylim0702/qr_code_controlnet@sha256:628e604e13cf63d8ec58bd4d238474e8986b054bc5e1326e50995fdbc851c557
|
| 2 |
curl -s -X POST \
|
| 3 |
-H "Content-Type: application/json" \
|
| 4 |
-
-d
|
| 5 |
"input": {
|
| 6 |
"eta": 0,
|
| 7 |
"url": "https://www.go-yamamoto.com",
|
|
@@ -18,4 +17,4 @@ curl -s -X POST \
|
|
| 18 |
"qr_conditioning_scale": 1.3
|
| 19 |
}
|
| 20 |
}' \
|
| 21 |
-
http://localhost
|
|
|
|
|
|
|
| 1 |
curl -s -X POST \
|
| 2 |
-H "Content-Type: application/json" \
|
| 3 |
+
-d '{
|
| 4 |
"input": {
|
| 5 |
"eta": 0,
|
| 6 |
"url": "https://www.go-yamamoto.com",
|
|
|
|
| 17 |
"qr_conditioning_scale": 1.3
|
| 18 |
}
|
| 19 |
}' \
|
| 20 |
+
http://localhost:$PORT/predictions
|