Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -131,9 +131,9 @@ def process_image(input_image):
|
|
| 131 |
try:
|
| 132 |
clothes = ["Upper-clothes", "Skirt", "Pants", "Dress"]
|
| 133 |
results = detect_and_segment_persons(input_image, clothes)
|
| 134 |
-
|
| 135 |
|
| 136 |
-
return
|
| 137 |
except Exception as e:
|
| 138 |
return f"Error occurred: {e}"
|
| 139 |
|
|
|
|
| 131 |
try:
|
| 132 |
clothes = ["Upper-clothes", "Skirt", "Pants", "Dress"]
|
| 133 |
results = detect_and_segment_persons(input_image, clothes)
|
| 134 |
+
# results = [refine_edges(image) for image in results]
|
| 135 |
|
| 136 |
+
return results
|
| 137 |
except Exception as e:
|
| 138 |
return f"Error occurred: {e}"
|
| 139 |
|