tomaseo2022 commited on
Commit
427d5cb
1 Parent(s): c1733cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -6,4 +6,13 @@ def video_identity(image):
6
  return image
7
 
8
 
 
 
 
 
 
 
 
9
 
 
 
 
6
  return image
7
 
8
 
9
+ demo = gr.Interface(video_identity,
10
+ gr.Image(),
11
+ "playable_video",
12
+ examples=[
13
+ os.path.join(os.path.dirname(__file__),
14
+ "video/video_sample.mp4")],
15
+ cache_examples=True)
16
 
17
+ if __name__ == "__main__":
18
+ demo.launch()