kevinssy commited on
Commit
555504f
1 Parent(s): 8634f14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,5 +1,6 @@
1
  """Run a Gradio demo of the CaR model on a single image."""
2
 
 
3
  import numpy as np
4
  import argparse
5
  from functools import reduce
@@ -20,6 +21,7 @@ random.seed(15)
20
  np.random.seed(0)
21
  torch.manual_seed(0)
22
 
 
23
 
24
  CFG_PATH = "configs/demo/pokemon.yaml"
25
 
 
1
  """Run a Gradio demo of the CaR model on a single image."""
2
 
3
+ import os
4
  import numpy as np
5
  import argparse
6
  from functools import reduce
 
21
  np.random.seed(0)
22
  torch.manual_seed(0)
23
 
24
+ os.system("wget https://huggingface.co/lkeab/hq-sam/resolve/main/sam_hq_vit_l.pth")
25
 
26
  CFG_PATH = "configs/demo/pokemon.yaml"
27