Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -172,12 +172,17 @@ def main():
|
|
172 |
col12.image(output_image, channels='RGB', width=None, clamp=False, caption='Generated image')
|
173 |
|
174 |
elif choose == 'Canvas':
|
175 |
-
st.markdown('''
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
|
|
|
|
|
|
|
|
|
|
181 |
with st.form(key='canvas_generate_form'):
|
182 |
|
183 |
# Specify canvas parameters in application
|
|
|
172 |
col12.image(output_image, channels='RGB', width=None, clamp=False, caption='Generated image')
|
173 |
|
174 |
elif choose == 'Canvas':
|
175 |
+
# st.markdown('''
|
176 |
+
# ###### Step 1a. Draw your image with canvas
|
177 |
+
# ###### Step 1b. You also can upload image directly by select Upload in side bar
|
178 |
+
# ###### Step 2. Input prompt to instruct model (You can also change some config with advanced option if need)
|
179 |
+
# ###### Step 3. Generate and enjoy
|
180 |
+
# ''')
|
181 |
+
st.info("Step 1a. Draw your image with canvas"
|
182 |
+
"\n Step 1b. You also can upload image directly by select Upload in side bar"
|
183 |
+
"\n Step 2. Input prompt to instruct model (You can also change some config with advanced option if need)"
|
184 |
+
"\n Step 3. Generate and enjoy")
|
185 |
+
|
186 |
with st.form(key='canvas_generate_form'):
|
187 |
|
188 |
# Specify canvas parameters in application
|