Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
|