Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ if api_key:
|
|
| 39 |
image_data = BytesIO(image_response.content)
|
| 40 |
|
| 41 |
# Display the image
|
| 42 |
-
st.image(image_url, caption="Generated Image",
|
| 43 |
st.write("Image URL: " + image_url)
|
| 44 |
except Exception as e:
|
| 45 |
st.error(f"An error occurred: {e}")
|
|
|
|
| 39 |
image_data = BytesIO(image_response.content)
|
| 40 |
|
| 41 |
# Display the image
|
| 42 |
+
st.image(image_url, caption="Generated Image", use_container_width=True)
|
| 43 |
st.write("Image URL: " + image_url)
|
| 44 |
except Exception as e:
|
| 45 |
st.error(f"An error occurred: {e}")
|