Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -32,6 +32,6 @@ def predict_step(image_paths):
|
|
32 |
preds = [pred.strip() for pred in preds]
|
33 |
return preds
|
34 |
|
35 |
-
torch.hub.download_url_to_file('https://github.com/AaronCWacker/Yggdrasil/blob/main/images/35-Favorite-Games.jpg
|
36 |
|
37 |
predict_step(['35-Favorite-Games.jpg'] # ['a woman in a hospital bed with a woman in a hospital bed']
|
|
|
32 |
preds = [pred.strip() for pred in preds]
|
33 |
return preds
|
34 |
|
35 |
+
torch.hub.download_url_to_file('https://github.com/AaronCWacker/Yggdrasil/blob/main/images/35-Favorite-Games.jpg', '35-Favorite-Games.jpg')
|
36 |
|
37 |
predict_step(['35-Favorite-Games.jpg'] # ['a woman in a hospital bed with a woman in a hospital bed']
|