Spaces:
Paused
Paused
Finishing touches
Browse files
app.py
CHANGED
@@ -83,5 +83,5 @@ if st.session_state.emotion != None and st.session_state.genre != None and st.se
|
|
83 |
st.text(st.session_state.text_prompt)
|
84 |
if st.session_state.text_prompt:
|
85 |
if st.button("Generate image from text description"):
|
86 |
-
image = image_service(st.session_state.text_prompt)
|
87 |
st.image(image)
|
|
|
83 |
st.text(st.session_state.text_prompt)
|
84 |
if st.session_state.text_prompt:
|
85 |
if st.button("Generate image from text description"):
|
86 |
+
image = image_service(st.session_state.text_prompt).images[0]
|
87 |
st.image(image)
|