andrewgleave commited on
Commit
ddc4ca6
1 Parent(s): 6a8ac62
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import numpy as np
3
+
4
+
5
+ def flip(im):
6
+ return np.flipud(im)
7
+
8
+
9
+ demo = gr.Interface(flip, gr.Image(source="webcam", streaming=True), "image", live=True)
10
+ demo.launch()