Spaces:
Runtime error
Runtime error
Commit ·
def89a4
1
Parent(s): 1674526
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,10 +18,10 @@ model = YOLO('./weights/FastSAM.pt')
|
|
| 18 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 19 |
|
| 20 |
|
| 21 |
-
icon_html = '<i class="fas fa-chart-bar"></i>'
|
| 22 |
-
title= f"""
|
| 23 |
-
<div style="background-color: #f5f1f2; padding: 10px; display: flex; align-items: center;">
|
| 24 |
-
{icon_html} <span style="margin-left: 10px;">Fast Segment Anything
|
| 25 |
</div>
|
| 26 |
"""
|
| 27 |
|
|
|
|
| 18 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 19 |
|
| 20 |
|
| 21 |
+
icon_html = '<i class="fas fa-chart-bar" style="font-weight: bold;"></i>'
|
| 22 |
+
title = f"""
|
| 23 |
+
<div style="background-color: #f5f1f2; padding: 10px; display: flex; align-items: center; justify-content: center;">
|
| 24 |
+
{icon_html} <span style="margin-left: 10px; font-size: 20px;">Fast Segment Anything</span>
|
| 25 |
</div>
|
| 26 |
"""
|
| 27 |
|