akhaliq HF staff commited on
Commit
4c81908
1 Parent(s): aff0fd0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,6 +1,8 @@
1
  import os
2
  os.system("pip install git+https://github.com/zhanghang1989/PyTorch-Encoding/")
3
  os.system("pip install git+https://github.com/openai/CLIP.git")
 
 
4
  import torch
5
  import argparse
6
  import numpy as np
 
1
  import os
2
  os.system("pip install git+https://github.com/zhanghang1989/PyTorch-Encoding/")
3
  os.system("pip install git+https://github.com/openai/CLIP.git")
4
+ os.mkdir("checkpoints")
5
+ os.system("wget https://huggingface.co/isl-org/lang-seg/resolve/main/demo_e200.ckpt -O checkpoints/demo_e200.ckpt")
6
  import torch
7
  import argparse
8
  import numpy as np