JHyeon commited on
Commit
51e3e99
1 Parent(s): cb8f21f

Upload Obstacles _Detection.py

Browse files
Files changed (1) hide show
  1. Obstacles _Detection.py +22 -0
Obstacles _Detection.py ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def play_video():
4
+ return "Movie005.mp4"
5
+
6
+ css = """
7
+ video {
8
+ width: 100% !important;
9
+ height: auto !important;
10
+ }
11
+ """
12
+
13
+ app = gr.Interface(
14
+ fn=play_video,
15
+ inputs=[], # 여기에 빈 리스트를 입력으로 추가
16
+ outputs=gr.components.Video(label="Playback"),
17
+ title="Obstacles Detection Demo",
18
+ css=css
19
+ )
20
+
21
+ if __name__ == "__main__":
22
+ app.launch()