Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ if st.button("Generate Image"):
|
|
35 |
with st.spinner("Generating image..."):
|
36 |
result = generate_image()
|
37 |
|
38 |
-
image_url = result.get("
|
39 |
if image_url:
|
40 |
st.image(image_url, caption="Generated Image", use_container_width=True)
|
41 |
|
|
|
35 |
with st.spinner("Generating image..."):
|
36 |
result = generate_image()
|
37 |
|
38 |
+
image_url = result.get("message", {}).get("output_png")
|
39 |
if image_url:
|
40 |
st.image(image_url, caption="Generated Image", use_container_width=True)
|
41 |
|