Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ n_categories = len(model_categories)
|
|
21 |
|
22 |
#model.eval()
|
23 |
# Download an example image from the pytorch website
|
24 |
-
torch.hub.download_url_to_file("https://
|
25 |
torch.hub.download_url_to_file("https://upload.wikimedia.org/wikipedia/commons/thumb/6/6e/Golde33443.jpg/640px-Golde33443.jpg", "dog2.jpg")
|
26 |
torch.hub.download_url_to_file("https://github.com/yuhe6/Stat-430-Deep-Learning/blob/main/Bombay_5.jpg", "cat1.jpg")
|
27 |
torch.hub.download_url_to_file("https://github.com/yuhe6/Stat-430-Deep-Learning/blob/main/Birman_5.jpg", "cat2.jpg")
|
|
|
21 |
|
22 |
#model.eval()
|
23 |
# Download an example image from the pytorch website
|
24 |
+
torch.hub.download_url_to_file("https://upload.wikimedia.org/wikipedia/commons/5/5b/Dog_%28Canis_lupus_familiaris%29_%281%29.jpg", "dog1.jpg")
|
25 |
torch.hub.download_url_to_file("https://upload.wikimedia.org/wikipedia/commons/thumb/6/6e/Golde33443.jpg/640px-Golde33443.jpg", "dog2.jpg")
|
26 |
torch.hub.download_url_to_file("https://github.com/yuhe6/Stat-430-Deep-Learning/blob/main/Bombay_5.jpg", "cat1.jpg")
|
27 |
torch.hub.download_url_to_file("https://github.com/yuhe6/Stat-430-Deep-Learning/blob/main/Birman_5.jpg", "cat2.jpg")
|