Commit
·
dfd844f
1
Parent(s):
069a9f8
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,8 @@ import cv2
|
|
| 5 |
import gradio as gr
|
| 6 |
|
| 7 |
from channel_functions import individual_channel_image, channel_distribution_plotter, which_channel_dominates
|
| 8 |
-
description1 = '''
|
|
|
|
| 9 |
Drag and bring it to the rectangular drop area. Release it when the border becomes red'''
|
| 10 |
iface1 = gr.Interface(fn = which_channel_dominates,
|
| 11 |
inputs = gr.Image(),
|
|
@@ -16,6 +17,6 @@ iface1 = gr.Interface(fn = which_channel_dominates,
|
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
-
combinedInterface = gr.TabbedInterface([iface1],['Channel'])
|
| 20 |
combinedInterface.launch()
|
| 21 |
|
|
|
|
| 5 |
import gradio as gr
|
| 6 |
|
| 7 |
from channel_functions import individual_channel_image, channel_distribution_plotter, which_channel_dominates
|
| 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\n
|
| 10 |
Drag and bring it to the rectangular drop area. Release it when the border becomes red'''
|
| 11 |
iface1 = gr.Interface(fn = which_channel_dominates,
|
| 12 |
inputs = gr.Image(),
|
|
|
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
+
combinedInterface = gr.TabbedInterface([iface1],['Channel domination'])
|
| 21 |
combinedInterface.launch()
|
| 22 |
|