gaur3009 commited on
Commit
eb3ffe1
·
verified ·
1 Parent(s): ffe5741

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -81,10 +81,10 @@ def process_images(image_a, image_b, top_left_x, top_left_y, bottom_right_x, bot
81
  # Gradio UI components
82
  image_input_a = gr.Image(label="Upload Clothing Image", type="pil")
83
  image_input_b = gr.Image(label="Upload Design Image", type="pil")
84
- top_left_x = gr.Slider(minimum=0, maximum=1000, label="Top-left X Coordinate", default=50)
85
- top_left_y = gr.Slider(minimum=0, maximum=1000, label="Top-left Y Coordinate", default=100)
86
- bottom_right_x = gr.Slider(minimum=0, maximum=1000, label="Bottom-right X Coordinate", default=300)
87
- bottom_right_y = gr.Slider(minimum=0, maximum=1000, label="Bottom-right Y Coordinate", default=400)
88
 
89
  # Define the Gradio interface
90
  iface = gr.Interface(
 
81
  # Gradio UI components
82
  image_input_a = gr.Image(label="Upload Clothing Image", type="pil")
83
  image_input_b = gr.Image(label="Upload Design Image", type="pil")
84
+ top_left_x = gr.Slider(minimum=0, maximum=1000, label="Top-left X Coordinate", value=50)
85
+ top_left_y = gr.Slider(minimum=0, maximum=1000, label="Top-left Y Coordinate", value=100)
86
+ bottom_right_x = gr.Slider(minimum=0, maximum=1000, label="Bottom-right X Coordinate", value=300)
87
+ bottom_right_y = gr.Slider(minimum=0, maximum=1000, label="Bottom-right Y Coordinate", value=400)
88
 
89
  # Define the Gradio interface
90
  iface = gr.Interface(