Update app.py
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ if api_key:
|
|
| 48 |
image_data = BytesIO(image_response.content)
|
| 49 |
|
| 50 |
# Display the image
|
| 51 |
-
st.image(image_url, caption="Generated Image",
|
| 52 |
except Exception as e:
|
| 53 |
st.error(f"An error occurred: {e}")
|
| 54 |
else:
|
|
|
|
| 48 |
image_data = BytesIO(image_response.content)
|
| 49 |
|
| 50 |
# Display the image
|
| 51 |
+
st.image(image_url, caption="Generated Image", use_container_width=True)
|
| 52 |
except Exception as e:
|
| 53 |
st.error(f"An error occurred: {e}")
|
| 54 |
else:
|