Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,20 +45,23 @@ with gr.Blocks(css=css) as demo:
|
|
| 45 |
title=title,
|
| 46 |
description=description
|
| 47 |
)
|
| 48 |
-
gr.
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
|
|
|
|
|
|
|
|
|
| 62 |
|
| 63 |
with gr.Row():
|
| 64 |
gr.HTML('<div class="video-container">')
|
|
|
|
| 45 |
title=title,
|
| 46 |
description=description
|
| 47 |
)
|
| 48 |
+
gr.HTML("""
|
| 49 |
+
<h1>Welcome to My Neuroscience Project</h1>
|
| 50 |
+
<p>The author is a third-year undergraduate student at the School of Intelligent Science and Technology, Nanjing University, Suzhou Campus.</p>
|
| 51 |
+
<h2>Note</h2>
|
| 52 |
+
<div style="border: 2px solid rgba(0, 0, 0, 0.1); border-radius: 10px; background-color: rgba(255, 255, 255, 0.8); padding: 20px;">
|
| 53 |
+
<p>Since this project uses Hugging Face's free CPU, the processing speed is very slow. In the worst case, even a video with a dozen frames can take several minutes to process. Therefore, if possible, it is recommended to deploy on a device with a better GPU.</p>
|
| 54 |
+
<p>Although the YOLOv5 model supports up to 80 classes, my project is primarily focused on autonomous driving. Therefore, objects other than people and cars will be excluded after object detection.</p>
|
| 55 |
+
</div>
|
| 56 |
+
<div style="border: 2px solid rgba(0, 0, 0, 0.1); border-radius: 10px; background-color: rgba(255, 255, 255, 0.8); padding: 20px;">
|
| 57 |
+
<h3>Tips for First-Time Users:</h3>
|
| 58 |
+
<ul>
|
| 59 |
+
<li>Ensure that the video includes at least people and cars.</li>
|
| 60 |
+
<li>It's recommended that the video is not too long, ideally within 10 seconds.</li>
|
| 61 |
+
</ul>
|
| 62 |
+
</div>
|
| 63 |
+
""")
|
| 64 |
+
|
| 65 |
|
| 66 |
with gr.Row():
|
| 67 |
gr.HTML('<div class="video-container">')
|