Spaces:
Running
Running
ciover2024
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ def generate_mask(image_path, text_prompt="clothing"):
|
|
102 |
text_input=text_prompt, # Use "clothing" as the prompt
|
103 |
api_name="/process_image"
|
104 |
)
|
105 |
-
print mask_result
|
106 |
return mask_result # This is the local path to the generated mask
|
107 |
|
108 |
# Save the generated mask
|
|
|
102 |
text_input=text_prompt, # Use "clothing" as the prompt
|
103 |
api_name="/process_image"
|
104 |
)
|
105 |
+
print("mask_result=", mask_result)
|
106 |
return mask_result # This is the local path to the generated mask
|
107 |
|
108 |
# Save the generated mask
|