Spaces:
Sleeping
Sleeping
yuvaranianandhan24
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -122,7 +122,7 @@ def image_generator_page():
|
|
122 |
if st.button("Generate Image"):
|
123 |
if prompt:
|
124 |
with st.spinner("Generating image..."):
|
125 |
-
image = txt2img(prompt
|
126 |
st.image(image)
|
127 |
else:
|
128 |
st.error("Please enter a prompt...")
|
|
|
122 |
if st.button("Generate Image"):
|
123 |
if prompt:
|
124 |
with st.spinner("Generating image..."):
|
125 |
+
image = txt2img(prompt, style=image_style)
|
126 |
st.image(image)
|
127 |
else:
|
128 |
st.error("Please enter a prompt...")
|