ariG23498 HF staff commited on
Commit
c184c0e
·
1 Parent(s): 9ffe8d8

change dir

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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
- from clip_dinoiser.models.builder import build_model
9
- from clip_dinoiser.utils.visualization import mask2rgb
10
- from clip_dinoiser.segmentation.datasets import PascalVOCDataset
 
 
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