File size: 358 Bytes
51e3e99
 
867d3b4
06e3a1f
867d3b4
65f9b1c
867d3b4
dfe29bf
867d3b4
 
 
51e3e99
 
867d3b4
 
 
 
 
51e3e99
 
 
667a7c3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import gradio as gr

def play_video():
    return "final_with_speech.mp4"

css = """
video {
    width: 100% !important;
    height: auto !important;
}
"""

app = gr.Interface(
    fn=play_video,
    inputs=[],
    outputs=gr.components.Video(label="Playback"),
    title="Obstacles Detection Demo",
    css=css
)

if __name__ == "__main__":
    app.launch()