Spaces:
Running
Running
Commit
·
2f32862
1
Parent(s):
d1d4db7
adding app with CLIP image segmentation
Browse files
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(
|
73 |
-
gr.Slider(1,
|
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 |
],
|