XciD HF staff commited on
Commit
c191ad2
1 Parent(s): 352228b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -1,10 +1,12 @@
1
  import gradio as gr
2
 
3
- def greet(name):
4
- return "Hello " + name + "!!"
5
 
6
 
7
- demo = gr.Interface(fn=greet, inputs="text", outputs="text")
8
- demo.queue(api_open=True)
 
 
9
 
10
  demo.launch()
 
1
  import gradio as gr
2
 
3
+ def video_identity(video):
4
+ return video
5
 
6
 
7
+ demo = gr.Interface(video_identity,
8
+ gr.Video(),
9
+ "playable_video",
10
+ )
11
 
12
  demo.launch()