Alesteba commited on
Commit
e3c5df3
·
1 Parent(s): 9f1ce46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,8 +20,8 @@ model_2 = model_type.model(
20
 
21
  # load from model_repo:
22
 
23
- # from huggingface_hub import hf_hub_download
24
- # hf_hub_download(repo_id="Alesteba/deep_model_02", filename="retinanet_racoon.pth")
25
 
26
  state_dict = torch.load('./retinanet_racoon.pth', map_location=torch.device('cpu'))
27
 
 
20
 
21
  # load from model_repo:
22
 
23
+ from huggingface_hub import hf_hub_download
24
+ hf_hub_download(repo_id="Alesteba/deep_model_02", filename="retinanet_racoon.pth")
25
 
26
  state_dict = torch.load('./retinanet_racoon.pth', map_location=torch.device('cpu'))
27