fahad11182 commited on
Commit
4f8b2be
·
verified ·
1 Parent(s): 828ab31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,7 +20,7 @@ def change_style():
20
 
21
  # Changign the walls' color function
22
  def change_color(image,color):
23
- # Construct the furniture prompt
24
  prompt = f"paint the walls with {color} color "
25
 
26
  # Text CFG (guidance_scale) controls how strongly the model follows the prompt
@@ -67,7 +67,7 @@ def edit_image(image, instruction):
67
  # Gradio interface for image editing
68
  def image_interface():
69
  with gr.Blocks() as demo_color:
70
- gr.Markdown("## Furniture Adding App")
71
 
72
  # Image upload
73
  image_input = gr.Image(type="pil", label="Upload Room Image")
 
20
 
21
  # Changign the walls' color function
22
  def change_color(image,color):
23
+ # Construct the color prompt
24
  prompt = f"paint the walls with {color} color "
25
 
26
  # Text CFG (guidance_scale) controls how strongly the model follows the prompt
 
67
  # Gradio interface for image editing
68
  def image_interface():
69
  with gr.Blocks() as demo_color:
70
+ gr.Markdown("## Painting Color Changing App")
71
 
72
  # Image upload
73
  image_input = gr.Image(type="pil", label="Upload Room Image")