Update: Improve config.json implementation
Browse files- config.json +6 -17
config.json
CHANGED
|
@@ -1,22 +1,11 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
"
|
| 4 |
-
"
|
| 5 |
-
"inference": {
|
| 6 |
"task_type": "text-to-image",
|
| 7 |
-
"
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
"type": "string",
|
| 11 |
-
"description": "Input text prompt"
|
| 12 |
-
}
|
| 13 |
-
},
|
| 14 |
-
"outputs": {
|
| 15 |
-
"image": {
|
| 16 |
-
"type": "image",
|
| 17 |
-
"description": "Generated image"
|
| 18 |
-
}
|
| 19 |
-
}
|
| 20 |
}
|
| 21 |
}
|
| 22 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"task_type": "text-to-image",
|
| 3 |
+
"inference_framework": "pytorch",
|
| 4 |
+
"inference_config": {
|
|
|
|
| 5 |
"task_type": "text-to-image",
|
| 6 |
+
"runtime": "docker",
|
| 7 |
+
"docker_config": {
|
| 8 |
+
"use_dockerfile": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
}
|
| 10 |
}
|
| 11 |
}
|