Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -156,10 +156,10 @@ async def api_generate(request: Request, inputs: ApiInput):
|
|
| 156 |
# Prepare the response data with images converted to base64
|
| 157 |
response_data = {
|
| 158 |
'ultimate_image': to_base64(final_results['ultimate_image']),
|
| 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
|
|
|
|
| 156 |
# Prepare the response data with images converted to base64
|
| 157 |
response_data = {
|
| 158 |
'ultimate_image': to_base64(final_results['ultimate_image']),
|
| 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
|