Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
|
@@ -159,7 +159,7 @@ async def api_generate(request: Request, inputs: ApiInput):
|
|
| 159 |
# 'fine_weave_image': to_base64(final_results['fine_weave_image']),
|
| 160 |
# 'bold_statement_image': to_base64(final_results['bold_statement_image']),
|
| 161 |
# 'creative_variation_image': to_base64(final_results['creative_variation_image']),
|
| 162 |
-
|
| 163 |
}
|
| 164 |
|
| 165 |
return response_data
|
|
|
|
| 159 |
# 'fine_weave_image': to_base64(final_results['fine_weave_image']),
|
| 160 |
# 'bold_statement_image': to_base64(final_results['bold_statement_image']),
|
| 161 |
# 'creative_variation_image': to_base64(final_results['creative_variation_image']),
|
| 162 |
+
'mask_image': to_base64(mask)
|
| 163 |
}
|
| 164 |
|
| 165 |
return response_data
|