Canyu commited on
Commit
a2d2f2a
·
verified ·
1 Parent(s): 60f3e1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -9
app.py CHANGED
@@ -99,15 +99,6 @@ client = Client("Canyu/Diception",
99
  colors = [(255, 0, 0), (0, 255, 0)]
100
  markers = [1, 5]
101
 
102
- map_prompt = {
103
- 'depth': '[[image2depth]]',
104
- 'normal': '[[image2normal]]',
105
- 'human pose': '[[image2pose]]',
106
- 'entity segmentation': '[[image2panoptic coarse]]',
107
- 'point segmentation': '[[image2segmentation]]',
108
- 'semantic segmentation': '[[image2semantic]]',
109
- }
110
-
111
  def process_image_check(path_input, prompt, sel_points, semantic):
112
  if path_input is None:
113
  raise gr.Error(
 
99
  colors = [(255, 0, 0), (0, 255, 0)]
100
  markers = [1, 5]
101
 
 
 
 
 
 
 
 
 
 
102
  def process_image_check(path_input, prompt, sel_points, semantic):
103
  if path_input is None:
104
  raise gr.Error(