Update app.py
Browse files
app.py
CHANGED
|
@@ -67,7 +67,6 @@ def generate_image(prompt):
|
|
| 67 |
else:
|
| 68 |
output = post_model_outputs_response.outputs[0].data.image.base64
|
| 69 |
image = Image.open(BytesIO(output))
|
| 70 |
-
image = image.resize((512, 512), Image.ANTIALIAS)
|
| 71 |
return image, None
|
| 72 |
|
| 73 |
# Function to generate audio using Clarifai
|
|
|
|
| 67 |
else:
|
| 68 |
output = post_model_outputs_response.outputs[0].data.image.base64
|
| 69 |
image = Image.open(BytesIO(output))
|
|
|
|
| 70 |
return image, None
|
| 71 |
|
| 72 |
# Function to generate audio using Clarifai
|