Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -28,5 +28,13 @@ def process_video(video):
|
|
28 |
return 'output.mp4'
|
29 |
|
30 |
demo = gr.Interface(fn=app_main, inputs="video", outputs="video") # 300 秒超时
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
|
32 |
demo.launch()
|
|
|
28 |
return 'output.mp4'
|
29 |
|
30 |
demo = gr.Interface(fn=app_main, inputs="video", outputs="video") # 300 秒超时
|
31 |
+
html_content = """
|
32 |
+
<div style="text-align: center;">
|
33 |
+
<h1>Welcome to My Video Processing App</h1>
|
34 |
+
<p>Upload a video to process it using YOLOv5 and DeepSORT.</p>
|
35 |
+
</div>
|
36 |
+
"""
|
37 |
+
with demo:
|
38 |
+
gr.HTML(html_content)
|
39 |
|
40 |
demo.launch()
|