Update app.py
Browse files
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
|