Spaces:
Sleeping
Sleeping
Commit
·
46bb033
1
Parent(s):
71b19e1
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,8 +9,8 @@ description1 = '''This tab shows which channel dominates which part of an image\
|
|
| 9 |
Upload an image or drag an online image to the upload section. Bring it to the rectangular area. Release it when the border becomes red'''
|
| 10 |
|
| 11 |
original_image_plot = gr.Radio(['yes','no'], label = "Do you want the original image be plotted in the background?")
|
| 12 |
-
original_image_opacity = gr.
|
| 13 |
-
channel_opacity = gr.
|
| 14 |
|
| 15 |
iface1 = gr.Interface(
|
| 16 |
fn = which_channel_dominates,
|
|
|
|
| 9 |
Upload an image or drag an online image to the upload section. Bring it to the rectangular area. Release it when the border becomes red'''
|
| 10 |
|
| 11 |
original_image_plot = gr.Radio(['yes','no'], label = "Do you want the original image be plotted in the background?")
|
| 12 |
+
original_image_opacity = gr.Slider(0,1, value = 0.3, label = "Opacity of the original image")
|
| 13 |
+
channel_opacity = gr.Slider(0,1, value = 0.7, label = "Opacity of the output channel-domination image")
|
| 14 |
|
| 15 |
iface1 = gr.Interface(
|
| 16 |
fn = which_channel_dominates,
|