fffiloni commited on
Commit
4140fc1
·
verified ·
1 Parent(s): dc9bdbf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def image_vision(image_input_path, prompt):
41
  def main_infer(image_input_path, prompt):
42
 
43
  answer, seg_image = image_vision(image_input_path, prompt)
44
- return answer, seg_image
45
 
46
  # Gradio UI
47
 
 
41
  def main_infer(image_input_path, prompt):
42
 
43
  answer, seg_image = image_vision(image_input_path, prompt)
44
+ return answer, seg_image[0]
45
 
46
  # Gradio UI
47