nikunjkdtechnoland commited on
Commit
7a6acb0
1 Parent(s): aaaa152

gradio changes names

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -9,9 +9,9 @@ options_list = list(object_names.values())
9
 
10
  # Create Gradio interface
11
  iface = gr.Interface(fn=process_images,
12
- inputs=[gr.Image(type='filepath', label='Input Image 1', width=300, height=300),
13
- gr.Image(type='filepath', label='Input Image 2', image_mode="RGBA", width=300, height=300),
14
- gr.Dropdown(options_list, label='Replace Object Name')],
15
  outputs=gr.Image(type='numpy', label='Final Result', width=300, height=300),
16
  title="AI Based Image Processing",
17
  description="Object to Object Replacement (Note: due to limitation of free usage on this server task will take approx 3-5 minutes for process, But the actual speed of this process on pc or dedicated server is < 10 seconds)")
 
9
 
10
  # Create Gradio interface
11
  iface = gr.Interface(fn=process_images,
12
+ inputs=[gr.Image(type='filepath', label='Main Image where object identify', width=300, height=300),
13
+ gr.Image(type='filepath', label='Object Image which placed on Main Image', image_mode="RGBA", width=300, height=300),
14
+ gr.Dropdown(options_list, label='Replace Object Name (Default = chair)')],
15
  outputs=gr.Image(type='numpy', label='Final Result', width=300, height=300),
16
  title="AI Based Image Processing",
17
  description="Object to Object Replacement (Note: due to limitation of free usage on this server task will take approx 3-5 minutes for process, But the actual speed of this process on pc or dedicated server is < 10 seconds)")