Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

Commit

Permalink
feat(huggingface): mark "model" field as required
Browse files Browse the repository at this point in the history
  • Loading branch information
donch1989 committed Mar 7, 2024
1 parent 140fe8f commit 235acb8
Showing 1 changed file with 36 additions and 19 deletions.
55 changes: 36 additions & 19 deletions pkg/huggingface/v0/config/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@
}
},
"required": [
"audio"
"audio",
"model"
],
"title": "Input",
"type": "object"
Expand Down Expand Up @@ -320,7 +321,8 @@
}
},
"required": [
"inputs"
"inputs",
"model"
],
"title": "Input",
"type": "object"
Expand Down Expand Up @@ -401,7 +403,8 @@
}
},
"required": [
"inputs"
"inputs",
"model"
],
"title": "Input",
"type": "object"
Expand Down Expand Up @@ -481,7 +484,8 @@
}
},
"required": [
"image"
"image",
"model"
],
"title": "Input",
"type": "object"
Expand Down Expand Up @@ -549,7 +553,8 @@
}
},
"required": [
"image"
"image",
"model"
],
"title": "Input",
"type": "object"
Expand Down Expand Up @@ -612,7 +617,7 @@
"instillAcceptFormats": [
"image/*"
],
"instillUIOrder": 0,
"instillUIOrder": 1,
"instillUpstreamTypes": [
"reference"
],
Expand All @@ -625,7 +630,8 @@
}
},
"required": [
"image"
"image",
"model"
],
"title": "Input",
"type": "object"
Expand Down Expand Up @@ -672,7 +678,8 @@
}
},
"required": [
"image"
"image",
"model"
],
"title": "Input",
"type": "object"
Expand Down Expand Up @@ -812,7 +819,8 @@
}
},
"required": [
"inputs"
"inputs",
"model"
],
"title": "Input",
"type": "object"
Expand Down Expand Up @@ -916,7 +924,8 @@
}
},
"required": [
"inputs"
"inputs",
"model"
],
"title": "Input",
"type": "object"
Expand Down Expand Up @@ -967,7 +976,8 @@
}
},
"required": [
"audio"
"audio",
"model"
],
"title": "Input",
"type": "object"
Expand Down Expand Up @@ -1122,7 +1132,8 @@
}
},
"required": [
"inputs"
"inputs",
"model"
],
"title": "Input",
"type": "object"
Expand Down Expand Up @@ -1200,7 +1211,8 @@
}
},
"required": [
"inputs"
"inputs",
"model"
],
"title": "Input",
"type": "object"
Expand Down Expand Up @@ -1277,7 +1289,8 @@
}
},
"required": [
"inputs"
"inputs",
"model"
],
"title": "Input",
"type": "object"
Expand Down Expand Up @@ -1474,7 +1487,8 @@
}
},
"required": [
"inputs"
"inputs",
"model"
],
"title": "Input",
"type": "object"
Expand Down Expand Up @@ -1594,7 +1608,8 @@
}
},
"required": [
"inputs"
"inputs",
"model"
],
"title": "Input",
"type": "object"
Expand Down Expand Up @@ -1659,7 +1674,8 @@
}
},
"required": [
"inputs"
"inputs",
"model"
],
"title": "Input",
"type": "object"
Expand Down Expand Up @@ -1741,7 +1757,8 @@
}
},
"required": [
"inputs"
"inputs",
"model"
],
"title": "Input",
"type": "object"
Expand Down Expand Up @@ -1823,7 +1840,7 @@
},
"required": [
"inputs",
"parameters"
"model"
],
"title": "Input",
"type": "object"
Expand Down

0 comments on commit 235acb8

Please sign in to comment.