hussain-shk commited on
Commit
1d0f8d9
·
1 Parent(s): 5e604f8

initial commit

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+
4
+ def image_mod(image):
5
+ return image.rotate(45)
6
+
7
+
8
+ iface = gr.Interface(image_mod, gr.inputs.Image(type="pil"), "image")
9
+ iface.launch()