Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -147,7 +147,17 @@ def app():
|
|
147 |
img_path = gr.Image(label="Image", height = 260, width = 410)
|
148 |
vid_path = gr.Video(label="Video", height = 260, width = 410)
|
149 |
#gr.HTML("<img src='flie/img_examples/clasess.png'>")
|
150 |
-
gr.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
#gr.Examples(['./img_examples/Exam_1.png','./img_examples/Exam_2.png','./img_examples/Exam_3.png','./img_examples/Exam_4.png','./img_examples/Exam_5.png'], inputs=img_path,label = "Image Example", cache_examples = False)
|
152 |
#gr.Examples(['./video_examples/video_1.mp4', './video_examples/video_2.mp4','./video_examples/video_3.mp4','./video_examples/video_4.mp4','./video_examples/video_5.mp4'], inputs=vid_path, label = "Video Example", cache_examples = False)
|
153 |
with gr.Column(min_width = 270):
|
|
|
147 |
img_path = gr.Image(label="Image", height = 260, width = 410)
|
148 |
vid_path = gr.Video(label="Video", height = 260, width = 410)
|
149 |
#gr.HTML("<img src='flie/img_examples/clasess.png'>")
|
150 |
+
gr.HTML("""
|
151 |
+
<h2>Classes (Color)</h2>
|
152 |
+
<ul>
|
153 |
+
<li><span style="color:#FF3333">■</span> Bus</li>
|
154 |
+
<li><span style="color:#3358FF">■</span> Bike</li>
|
155 |
+
<li><span style="color:#33FF33">■</span> Car</li>
|
156 |
+
<li><span style="color:#F6FF33">■</span> Pedestrian</li>
|
157 |
+
<li><span style="color:#9F33FF">■</span> Truck</li>
|
158 |
+
</ul>
|
159 |
+
""")
|
160 |
+
#gr.Image(value = img, interactive = False, label = "Classes", height = 260, width = 410)
|
161 |
#gr.Examples(['./img_examples/Exam_1.png','./img_examples/Exam_2.png','./img_examples/Exam_3.png','./img_examples/Exam_4.png','./img_examples/Exam_5.png'], inputs=img_path,label = "Image Example", cache_examples = False)
|
162 |
#gr.Examples(['./video_examples/video_1.mp4', './video_examples/video_2.mp4','./video_examples/video_3.mp4','./video_examples/video_4.mp4','./video_examples/video_5.mp4'], inputs=vid_path, label = "Video Example", cache_examples = False)
|
163 |
with gr.Column(min_width = 270):
|