Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,9 @@ css = """
|
|
14 |
}
|
15 |
"""
|
16 |
|
|
|
|
|
|
|
17 |
def process_video(video):
|
18 |
cap = cv2.VideoCapture(video)
|
19 |
fourcc = cv2.VideoWriter_fourcc(*'mp4v')
|
@@ -58,10 +61,9 @@ with gr.Blocks(css=css) as demo:
|
|
58 |
""")
|
59 |
|
60 |
with gr.Row():
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
gr.HTML("</div>")
|
65 |
|
66 |
|
67 |
|
|
|
14 |
}
|
15 |
"""
|
16 |
|
17 |
+
def show_video():
|
18 |
+
return "DDMDeepsort1.mp4"
|
19 |
+
|
20 |
def process_video(video):
|
21 |
cap = cv2.VideoCapture(video)
|
22 |
fourcc = cv2.VideoWriter_fourcc(*'mp4v')
|
|
|
61 |
""")
|
62 |
|
63 |
with gr.Row():
|
64 |
+
gr.HTML('<div class="video-container">')
|
65 |
+
gr.Video(show_video(), label="Your Video")
|
66 |
+
gr.HTML('</div>')
|
|
|
67 |
|
68 |
|
69 |
|