efralejandro commited on
Commit
f00614d
1 Parent(s): a5daa3d

Update app.py

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