Skip to content

Commit d3518e9

Browse files
authored
Fix ben2 url (#1182)
follow-up after #1179 (cc @not-lain)
1 parent 8b50438 commit d3518e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tasks/src/model-libraries-snippets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export const ben2 = (model: ModelData): string[] => [
8888
from PIL import Image
8989
from ben2 import AutoModel
9090
91-
url = "https://upload.wikimedia.org/wikipedia/commons/b/b6/Felis_catus-cat_on_snow.jpg"
91+
url = "https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg"
9292
image = Image.open(requests.get(url, stream=True).raw)
9393
9494
model = AutoModel.from_pretrained("${model.id}")

0 commit comments

Comments
 (0)