Commit
·
06b119c
1
Parent(s):
0646b3c
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,12 +5,12 @@ import cv2
|
|
| 5 |
import gradio as gr
|
| 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 |
inputs = gr.Image(),
|
| 11 |
outputs = "image",
|
| 12 |
title="Channel domination",
|
| 13 |
-
description=
|
| 14 |
)
|
| 15 |
|
| 16 |
|
|
|
|
| 5 |
import gradio as gr
|
| 6 |
|
| 7 |
from channel_functions import individual_channel_image, channel_distribution_plotter, which_channel_dominates
|
| 8 |
+
description1 = '''Upload an image or drag an online image to the upload section\nDrag and bring it to the rectangular drop area\nRelease it when the border becomes red'''
|
| 9 |
iface1 = gr.Interface(fn = which_channel_dominates,
|
| 10 |
inputs = gr.Image(),
|
| 11 |
outputs = "image",
|
| 12 |
title="Channel domination",
|
| 13 |
+
description=description1,
|
| 14 |
)
|
| 15 |
|
| 16 |
|