veradimovska commited on
Commit
01ef975
·
verified ·
1 Parent(s): 0fd5ae8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -8
app.py CHANGED
@@ -272,21 +272,18 @@ def make_editing_canvas(canvas_color, brush, _reset_state, generation_mode, pain
272
 
273
  def main():
274
  # center text
275
- st.write("## Controlnet sprint - interior design", unsafe_allow_html=True)
276
 
277
  input_image, generation_mode, brush, color_chooser, paint_mode = make_sidebar()
278
 
279
  # check if there is an input_image
280
  if not ('initial_image' in st.session_state and st.session_state['initial_image'] is not None):
281
  st.success("Upload an image to start")
282
- st.write("Welcome to the interior design controlnet demo! "
283
- "You can start by uploading a picture of your room, after which you will see "
284
- "a good variety of options to edit your current room to generate the room of your dreams! "
285
- "You can choose between inpainting, Segmentation and re-generating objects, which "
286
- "use our custom trained controlnet model. The main idea is that you can iterate over the "
287
  "generated images, because you will rarely get something perfect in one step (although it's possible). "
288
- "We added functionality to load in the generated image into the input, so you can keep "
289
- "changing the image until you are satisfied."
290
  )
291
 
292
  else:
 
272
 
273
  def main():
274
  # center text
275
+ st.write("## Interior design - image editor", unsafe_allow_html=True)
276
 
277
  input_image, generation_mode, brush, color_chooser, paint_mode = make_sidebar()
278
 
279
  # check if there is an input_image
280
  if not ('initial_image' in st.session_state and st.session_state['initial_image'] is not None):
281
  st.success("Upload an image to start")
282
+ st.write("Welcome to the interior design image editing demo! "
283
+ "Start by uploading a picture of your room. Choose between: inpainting, segmentation and re-generating objects."
284
+ "Use our tool to iterate over the "
 
 
285
  "generated images, because you will rarely get something perfect in one step (although it's possible). "
286
+ "Just load the generated image in the input and continue editing."
 
287
  )
288
 
289
  else: