Commit
·
04a7e14
1
Parent(s):
82d833f
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,5 +6,11 @@ import gradio as gr
|
|
| 6 |
|
| 7 |
from channel_functions import individual_channel_image, channel_distribution_plotter, which_channel_dominates
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
-
gr.Interface(which_channel_dominates, gr.Image(), "image", description="Upload an image or drag an online image to the upload section",).launch()
|
|
|
|
| 6 |
|
| 7 |
from channel_functions import individual_channel_image, channel_distribution_plotter, which_channel_dominates
|
| 8 |
|
| 9 |
+
iface1 = gr.Interface(fn = which_channel_dominates,
|
| 10 |
+
gr.Image(), "image",
|
| 11 |
+
description="Upload an image or drag an online image to the upload section"
|
| 12 |
+
)
|
| 13 |
+
|
| 14 |
+
combinedInterface = gr.TabbedInterface([iface1],'Channel domination areas')
|
| 15 |
+
combinedInterface.launch()
|
| 16 |
|
|
|