We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03afa2a commit ecdac33Copy full SHA for ecdac33
widgets/src/lib/interfaces/Libraries.ts
@@ -163,7 +163,7 @@ const tensorflowtts = (model: ModelData) => {
163
const timm = (model: ModelData) =>
164
`import timm
165
166
-model = timm.create_model("${model.modelId}", pretrained=True)`;
+model = timm.create_model("hf_hub:${model.modelId}", pretrained=True)`;
167
168
const sklearn = (model: ModelData) =>
169
`from huggingface_hub import hf_hub_download
0 commit comments