jree423 commited on
Commit
ceda8b2
·
verified ·
1 Parent(s): a5576e9

Update: Improve config.json implementation

Browse files
Files changed (1) hide show
  1. config.json +6 -17
config.json CHANGED
@@ -1,22 +1,11 @@
1
  {
2
- "task": "text-to-image",
3
- "framework": "custom",
4
- "model-type": "text-to-image",
5
- "inference": {
6
  "task_type": "text-to-image",
7
- "text_to_image": {
8
- "inputs": {
9
- "text": {
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
  }