LinaJawadi commited on
Commit
d18d82e
1 Parent(s): 25f0870

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import PIL as image def gray(image):
2
+ image_gray = image.convert('L')
3
+ return image_gray
4
+
5
+ import gradio as gr
6
+
7
+ gr.Interface(fn=gray, inputs="image", outputs="image").launch()