Spaces:
Sleeping
Sleeping
change dir
Browse files
app.py
CHANGED
@@ -5,9 +5,11 @@ repo_dir = "clip_dinoiser"
|
|
5 |
git.Repo.clone_from(git_url, repo_dir)
|
6 |
|
7 |
import os
|
8 |
-
|
9 |
-
|
10 |
-
from
|
|
|
|
|
11 |
|
12 |
from hydra import compose, initialize
|
13 |
from PIL import Image
|
@@ -21,8 +23,6 @@ import warnings
|
|
21 |
|
22 |
import gradio as gr
|
23 |
|
24 |
-
|
25 |
-
|
26 |
def greet(name):
|
27 |
return "Hello " + name + "!!"
|
28 |
|
|
|
5 |
git.Repo.clone_from(git_url, repo_dir)
|
6 |
|
7 |
import os
|
8 |
+
os.chdir("clip_dinoiser")
|
9 |
+
|
10 |
+
from models.builder import build_model
|
11 |
+
from utils.visualization import mask2rgb
|
12 |
+
from segmentation.datasets import PascalVOCDataset
|
13 |
|
14 |
from hydra import compose, initialize
|
15 |
from PIL import Image
|
|
|
23 |
|
24 |
import gradio as gr
|
25 |
|
|
|
|
|
26 |
def greet(name):
|
27 |
return "Hello " + name + "!!"
|
28 |
|