Darknightcoder
commited on
Commit
•
aaa805e
1
Parent(s):
4a39ad4
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ with st.form(key='image_form'):
|
|
60 |
if generate_image_button and st.session_state['dynamic_prompt']:
|
61 |
# Generate the image using your custom model
|
62 |
# Assuming 'my_custom_model_generate_image' is a function that returns the image data
|
63 |
-
st.session_state['image_data'] =
|
64 |
|
65 |
# Display the generated image if available
|
66 |
if st.session_state['image_data'] is not None:
|
|
|
60 |
if generate_image_button and st.session_state['dynamic_prompt']:
|
61 |
# Generate the image using your custom model
|
62 |
# Assuming 'my_custom_model_generate_image' is a function that returns the image data
|
63 |
+
st.session_state['image_data'] = (st.session_state['dynamic_prompt'])
|
64 |
|
65 |
# Display the generated image if available
|
66 |
if st.session_state['image_data'] is not None:
|