Skip to content

Commit

Permalink
🐛 Fix timm code sample (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
nateraw authored Sep 13, 2021
1 parent 03afa2a commit ecdac33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widgets/src/lib/interfaces/Libraries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const tensorflowtts = (model: ModelData) => {
const timm = (model: ModelData) =>
`import timm
model = timm.create_model("${model.modelId}", pretrained=True)`;
model = timm.create_model("hf_hub:${model.modelId}", pretrained=True)`;

const sklearn = (model: ModelData) =>
`from huggingface_hub import hf_hub_download
Expand Down

0 comments on commit ecdac33

Please # to comment.