Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -100,7 +100,7 @@ def format_results(results, media_type):
|
|
| 100 |
"""
|
| 101 |
|
| 102 |
|
| 103 |
-
|
| 104 |
<div style="background: #f5f5f5; padding: 15px; margin: 10px 0; border-radius: 5px;">
|
| 105 |
<h3>📈 Detection Metrics</h3>
|
| 106 |
<p><strong>Confidence Score:</strong> {confidence:.1f}%</p>
|
|
|
|
| 100 |
"""
|
| 101 |
|
| 102 |
|
| 103 |
+
html = f"""
|
| 104 |
<div style="background: #f5f5f5; padding: 15px; margin: 10px 0; border-radius: 5px;">
|
| 105 |
<h3>📈 Detection Metrics</h3>
|
| 106 |
<p><strong>Confidence Score:</strong> {confidence:.1f}%</p>
|