Spaces:
Sleeping
Sleeping
Commit ·
355deda
1
Parent(s): c494357
Update app.py
Browse files
app.py
CHANGED
|
@@ -111,8 +111,8 @@ description_with_icon = f"""
|
|
| 111 |
{icon_html}
|
| 112 |
<span style="margin-left: 10px;">
|
| 113 |
<p><strong>PyTorch Lightning Implementation of YOLOv3 Trained from Scratch</strong></p>
|
|
|
|
| 114 |
<ul>
|
| 115 |
-
<li><strong>Trained Classes:</strong></li>
|
| 116 |
<li>🚶♂️ Person: person</li>
|
| 117 |
<li>🦮 Animal: bird, cat, cow, dog, horse, sheep</li>
|
| 118 |
<li>🚚 Vehicle: aeroplane, bicycle, boat, bus, car, motorbike, train</li>
|
|
@@ -126,7 +126,7 @@ description_with_icon = f"""
|
|
| 126 |
demo = gr.Interface(processed_image,
|
| 127 |
inputs=[gr.Image(label="Input Image"),],
|
| 128 |
outputs=[
|
| 129 |
-
gr.Plot(label="Output Plot",style="background-color:
|
| 130 |
gr.Image(shape=(32, 32), label="Model Prediction"),
|
| 131 |
],
|
| 132 |
title=title_with_icon,
|
|
|
|
| 111 |
{icon_html}
|
| 112 |
<span style="margin-left: 10px;">
|
| 113 |
<p><strong>PyTorch Lightning Implementation of YOLOv3 Trained from Scratch</strong></p>
|
| 114 |
+
<p><strong>Trained Classes:</strong></p>
|
| 115 |
<ul>
|
|
|
|
| 116 |
<li>🚶♂️ Person: person</li>
|
| 117 |
<li>🦮 Animal: bird, cat, cow, dog, horse, sheep</li>
|
| 118 |
<li>🚚 Vehicle: aeroplane, bicycle, boat, bus, car, motorbike, train</li>
|
|
|
|
| 126 |
demo = gr.Interface(processed_image,
|
| 127 |
inputs=[gr.Image(label="Input Image"),],
|
| 128 |
outputs=[
|
| 129 |
+
gr.Plot(label="Output Plot",style="background-color: #f3f5f1;"),
|
| 130 |
gr.Image(shape=(32, 32), label="Model Prediction"),
|
| 131 |
],
|
| 132 |
title=title_with_icon,
|