Commit
·
de55297
1
Parent(s):
04a7e14
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,10 +7,12 @@ import gradio as gr
|
|
| 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(),
|
| 11 |
-
|
|
|
|
|
|
|
| 12 |
)
|
| 13 |
|
| 14 |
-
combinedInterface = gr.TabbedInterface([iface1],'Channel domination areas')
|
| 15 |
combinedInterface.launch()
|
| 16 |
|
|
|
|
| 7 |
from channel_functions import individual_channel_image, channel_distribution_plotter, which_channel_dominates
|
| 8 |
|
| 9 |
iface1 = gr.Interface(fn = which_channel_dominates,
|
| 10 |
+
inputs = gr.Image(),
|
| 11 |
+
outputs = "image",
|
| 12 |
+
title="2-D Random Walk",
|
| 13 |
+
description="Upload an image or drag an online image to the upload section",
|
| 14 |
)
|
| 15 |
|
| 16 |
+
combinedInterface = gr.TabbedInterface([iface1],['Channel domination areas'])
|
| 17 |
combinedInterface.launch()
|
| 18 |
|