whitphx HF Staff commited on
Commit
fad96b3
·
1 Parent(s): 4b05e5e

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def gallery(image):
4
+ return [image]
5
+
6
+ demo = gr.Interface(
7
+ fn=gallery,
8
+ inputs=gr.Image(),
9
+ outputs=gr.Gallery(),
10
+ )
11
+
12
+ demo.launch()