kushagra124 commited on
Commit
2f32862
1 Parent(s): d1d4db7

adding app with CLIP image segmentation

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -69,8 +69,8 @@ def shot(brightness,contrast,image,labels_text):
69
 
70
  iface = gr.Interface(fn=shot,
71
  inputs = [
72
- gr.Slider(5, 50, value=15, label="Brightness", info="Choose between 5 and 50"),
73
- gr.Slider(1, 5, value=1.5, label="Contrast", info="Choose between 1 and 5"),
74
  "image",
75
  "text"
76
  ],
 
69
 
70
  iface = gr.Interface(fn=shot,
71
  inputs = [
72
+ gr.Slider(1, 5, value=15, label="beta", info="Choose between 5 and 50"),
73
+ gr.Slider(0.1, 1, value=1.5, label="alpha", info="Choose between 1 and 5"),
74
  "image",
75
  "text"
76
  ],