DebasishDhal99 commited on
Commit
af8a4e4
·
1 Parent(s): 829b35a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -1,6 +1,10 @@
1
  import numpy as np
2
  import matplotlib.pyplot as plt
3
  import cv2
 
4
 
5
  from channel_functions import individual_channel_image, channel_distribution_plotter, which_channel_dominates
6
 
 
 
 
 
1
  import numpy as np
2
  import matplotlib.pyplot as plt
3
  import cv2
4
+ import gradio as gr
5
 
6
  from channel_functions import individual_channel_image, channel_distribution_plotter, which_channel_dominates
7
 
8
+ x = gr.Number(value=42,label="Some input")
9
+
10
+ gr.Interface(which_channel_dominates, gr.inputs.Image(), "image").launch()