Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -25,6 +25,14 @@ title = "Welcome to DDM DeepSort"
|
|
25 |
description = "Upload a video to process it using DDM and DeepSORT."
|
26 |
|
27 |
with gr.Blocks() as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
gr.Markdown("""
|
29 |
# Welcome to My Neuroscience Project
|
30 |
The author is a third-year undergraduate student at the School of Intelligent Science and Technology, Nanjing University, Suzhou Campus.
|
@@ -40,15 +48,12 @@ with gr.Blocks() as demo:
|
|
40 |
</div>
|
41 |
""")
|
42 |
|
43 |
-
with gr.Row(
|
44 |
-
gr.
|
|
|
|
|
|
|
|
|
45 |
|
46 |
-
gr.Interface(
|
47 |
-
fn=app_main,
|
48 |
-
inputs="video",
|
49 |
-
outputs="video",
|
50 |
-
title=title,
|
51 |
-
description=description
|
52 |
-
)
|
53 |
|
54 |
demo.launch()
|
|
|
25 |
description = "Upload a video to process it using DDM and DeepSORT."
|
26 |
|
27 |
with gr.Blocks() as demo:
|
28 |
+
|
29 |
+
gr.Interface(
|
30 |
+
fn=app_main,
|
31 |
+
inputs="video",
|
32 |
+
outputs="video",
|
33 |
+
title=title,
|
34 |
+
description=description
|
35 |
+
)
|
36 |
gr.Markdown("""
|
37 |
# Welcome to My Neuroscience Project
|
38 |
The author is a third-year undergraduate student at the School of Intelligent Science and Technology, Nanjing University, Suzhou Campus.
|
|
|
48 |
</div>
|
49 |
""")
|
50 |
|
51 |
+
with gr.Row():
|
52 |
+
with gr.Column():
|
53 |
+
gr.HTML("<div style='display: flex; justify-content: center;'>")
|
54 |
+
gr.Video(value="DDMDeepsort1.mp4", label="Demo Video", width=720, height=435)
|
55 |
+
gr.HTML("</div>")
|
56 |
+
|
57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
|
59 |
demo.launch()
|