Andy1621 commited on
Commit
9e1cbc6
1 Parent(s): 7b9334e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def inference(img):
34
  # Device on which to run the model
35
  # Set to cuda to load on GPU
36
  device = "cpu"
37
- model_path = hf_hub_download(repo_id="Andy1621/uniformer", filename="uniformer_small_in1k.pth")
38
  # Pick a pretrained model
39
  model = uniformer_small()
40
  state_dict = torch.load(model_path, map_location='cpu')
 
34
  # Device on which to run the model
35
  # Set to cuda to load on GPU
36
  device = "cpu"
37
+ model_path = hf_hub_download(repo_id="Sense-X/uniformer_image", filename="uniformer_small_in1k.pth")
38
  # Pick a pretrained model
39
  model = uniformer_small()
40
  state_dict = torch.load(model_path, map_location='cpu')