rlawjdghek commited on
Commit
92a1987
β€’
1 Parent(s): a17c754

apply net location

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -6,7 +6,6 @@ from glob import glob
6
  from os.path import join as opj
7
  from pathlib import Path
8
 
9
- import apply_net
10
  import gradio as gr
11
  import torch
12
  from omegaconf import OmegaConf
@@ -24,7 +23,7 @@ sys.path.insert(0, str(PROJECT_ROOT))
24
  # from preprocess.detectron2.projects.DensePose.apply_net_gradio import DensePose4Gradio
25
  from preprocess.humanparsing.run_parsing import Parsing
26
  from preprocess.openpose.run_openpose import OpenPose
27
-
28
  print("app import done")
29
 
30
  os.environ['GRADIO_TEMP_DIR'] = './tmp' # TODO: turn off when final upload
 
6
  from os.path import join as opj
7
  from pathlib import Path
8
 
 
9
  import gradio as gr
10
  import torch
11
  from omegaconf import OmegaConf
 
23
  # from preprocess.detectron2.projects.DensePose.apply_net_gradio import DensePose4Gradio
24
  from preprocess.humanparsing.run_parsing import Parsing
25
  from preprocess.openpose.run_openpose import OpenPose
26
+ import apply_net
27
  print("app import done")
28
 
29
  os.environ['GRADIO_TEMP_DIR'] = './tmp' # TODO: turn off when final upload