Andy1621 commited on
Commit
fa4b7a9
β€’
1 Parent(s): 0599b47

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ def inference(video):
74
  # Device on which to run the model
75
  # Set to cuda to load on GPU
76
  device = "cpu"
77
- model_path = hf_hub_download(repo_id="Andy1621/uniformer", filename="uniformer_small_k400_16x8.pth")
78
  # Pick a pretrained model
79
  model = uniformer_small()
80
  state_dict = torch.load(model_path, map_location='cpu')
 
74
  # Device on which to run the model
75
  # Set to cuda to load on GPU
76
  device = "cpu"
77
+ model_path = hf_hub_download(repo_id="Sense-X/uniformer_video", filename="uniformer_small_k400_16x8.pth")
78
  # Pick a pretrained model
79
  model = uniformer_small()
80
  state_dict = torch.load(model_path, map_location='cpu')