Spaces:
Sleeping
Sleeping
Muhammad Waqas
commited on
Commit
·
7192cc2
1
Parent(s):
42dd4f6
Added OmniGen Image to Image
Browse files
app.py
CHANGED
@@ -273,7 +273,7 @@ def omnigen_image_to_image():
|
|
273 |
img_str = base64.b64encode(buffered.getvalue()).decode("utf-8")
|
274 |
output_images_base64.append(img_str)
|
275 |
|
276 |
-
return jsonify({'images': output_images_base64
|
277 |
|
278 |
except Exception as e:
|
279 |
return jsonify({'message': 'Unable to connect to the server. Make sure the server is running', 'error': str(e)}), 500
|
|
|
273 |
img_str = base64.b64encode(buffered.getvalue()).decode("utf-8")
|
274 |
output_images_base64.append(img_str)
|
275 |
|
276 |
+
return jsonify({'images': output_images_base64}), 200
|
277 |
|
278 |
except Exception as e:
|
279 |
return jsonify({'message': 'Unable to connect to the server. Make sure the server is running', 'error': str(e)}), 500
|