SingleZombie commited on
Commit
0a4892c
1 Parent(s): b642621

ignore midas

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -4,7 +4,6 @@ import os
4
  # uncomment the next line to use huggingface model in China
5
  # os.environ['HF_ENDPOINT'] = 'https://hf-mirror.com'
6
 
7
- import spaces
8
  import cv2
9
  import io
10
  import gc
@@ -34,7 +33,7 @@ from gmflow.gmflow import GMFlow
34
  from model import build_model
35
  from annotator.hed import HEDdetector
36
  from annotator.canny import CannyDetector
37
- from annotator.midas import MidasDetector
38
 
39
  import huggingface_hub
40
  import shutil
 
4
  # uncomment the next line to use huggingface model in China
5
  # os.environ['HF_ENDPOINT'] = 'https://hf-mirror.com'
6
 
 
7
  import cv2
8
  import io
9
  import gc
 
33
  from model import build_model
34
  from annotator.hed import HEDdetector
35
  from annotator.canny import CannyDetector
36
+ # from annotator.midas import MidasDetector
37
 
38
  import huggingface_hub
39
  import shutil