Spaces:
Build error
Build error
efralejandro
commited on
Commit
•
f00614d
1
Parent(s):
a5daa3d
Update app.py
Browse files
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()
|