Upload api-inference-config.json with huggingface_hub
Browse files- api-inference-config.json +8 -24
    	
        api-inference-config.json
    CHANGED
    
    | @@ -1,28 +1,12 @@ | |
| 1 | 
             
            {
         | 
| 2 | 
             
              "task": "image-classification",
         | 
| 3 | 
            -
              " | 
| 4 | 
            -
             | 
| 5 | 
            -
             | 
| 6 | 
            -
             | 
| 7 | 
            -
             | 
| 8 | 
            -
             | 
| 9 | 
            -
             | 
| 10 | 
            -
             | 
| 11 | 
            -
                  "width": 224
         | 
| 12 | 
            -
                },
         | 
| 13 | 
            -
                "image_mean": [
         | 
| 14 | 
            -
                  0.485,
         | 
| 15 | 
            -
                  0.456,
         | 
| 16 | 
            -
                  0.406
         | 
| 17 | 
            -
                ],
         | 
| 18 | 
            -
                "image_std": [
         | 
| 19 | 
            -
                  0.229,
         | 
| 20 | 
            -
                  0.224,
         | 
| 21 | 
            -
                  0.225
         | 
| 22 | 
            -
                ]
         | 
| 23 | 
            -
              },
         | 
| 24 | 
            -
              "example": {
         | 
| 25 | 
            -
                "text": "An image of a kiwi leaf",
         | 
| 26 | 
            -
                "image": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/sample_leaf.jpg"
         | 
| 27 | 
             
              }
         | 
| 28 | 
             
            }
         | 
|  | |
| 1 | 
             
            {
         | 
| 2 | 
             
              "task": "image-classification",
         | 
| 3 | 
            +
              "task_specific": {
         | 
| 4 | 
            +
                "image-classification": {
         | 
| 5 | 
            +
                  "labels": [
         | 
| 6 | 
            +
                    "잎_점무늬병",
         | 
| 7 | 
            +
                    "잎_정상",
         | 
| 8 | 
            +
                    "잎_총채벌레"
         | 
| 9 | 
            +
                  ]
         | 
| 10 | 
            +
                }
         | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 11 | 
             
              }
         | 
| 12 | 
             
            }
         |