Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,7 @@ def classify_food(image):
|
|
| 31 |
|
| 32 |
# Formatierte Zusammenfassung
|
| 33 |
summary = (
|
| 34 |
-
"##
|
| 35 |
f"**Trainiertes ViT-Modell**: erkennt **{vit_top_label}** mit **{vit_top_score:.1f}%** Wahrscheinlichkeit.\n\n"
|
| 36 |
f"**CLIP Zero-Shot-Modell**: erkennt **{clip_top_label}** mit **{clip_top_score:.1f}%** Wahrscheinlichkeit."
|
| 37 |
)
|
|
|
|
| 31 |
|
| 32 |
# Formatierte Zusammenfassung
|
| 33 |
summary = (
|
| 34 |
+
"## Höchste Vorhersagewahrscheinlichkeit pro Modell:\n\n"
|
| 35 |
f"**Trainiertes ViT-Modell**: erkennt **{vit_top_label}** mit **{vit_top_score:.1f}%** Wahrscheinlichkeit.\n\n"
|
| 36 |
f"**CLIP Zero-Shot-Modell**: erkennt **{clip_top_label}** mit **{clip_top_score:.1f}%** Wahrscheinlichkeit."
|
| 37 |
)
|