Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -145,6 +145,7 @@ def generate_image_from_text(encoded_image, seed, pos_prompt=None):
|
|
| 145 |
return Image.open(io.BytesIO(base64_image_data))
|
| 146 |
|
| 147 |
def check_input_image(input_image):
|
|
|
|
| 148 |
if input_image is None:
|
| 149 |
raise gr.Error("No image uploaded!")
|
| 150 |
|
|
|
|
| 145 |
return Image.open(io.BytesIO(base64_image_data))
|
| 146 |
|
| 147 |
def check_input_image(input_image):
|
| 148 |
+
print(input_image)
|
| 149 |
if input_image is None:
|
| 150 |
raise gr.Error("No image uploaded!")
|
| 151 |
|