Commit
·
71b19e1
1
Parent(s):
3c3a6af
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ from channel_functions import individual_channel_image, channel_distribution_plo
|
|
| 8 |
description1 = '''This tab shows which channel dominates which part of an image\n
|
| 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.
|
| 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 |
|
|
|
|
| 8 |
description1 = '''This tab shows which channel dominates which part of an image\n
|
| 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 |
|