IKRAMELHADI commited on
Commit ·
c5083cc
1
Parent(s): 3f04d8e
Interpretation results
Browse files
app.py
CHANGED
|
@@ -128,8 +128,8 @@ def interpret_results(avg_class: int, dl_class: int) -> str:
|
|
| 128 |
if avg_class == 0:
|
| 129 |
return (
|
| 130 |
"ℹ️ <b>Interprétation</b> :<br>"
|
| 131 |
-
"Aucune
|
| 132 |
-
"
|
| 133 |
)
|
| 134 |
|
| 135 |
rating_txt = {1: "faible", 2: "moyenne", 3: "élevée"}.get(avg_class, "inconnue")
|
|
|
|
| 128 |
if avg_class == 0:
|
| 129 |
return (
|
| 130 |
"ℹ️ <b>Interprétation</b> :<br>"
|
| 131 |
+
"Aucune évaluation utilisateur (rating manquant).<br>"
|
| 132 |
+
"on verra."
|
| 133 |
)
|
| 134 |
|
| 135 |
rating_txt = {1: "faible", 2: "moyenne", 3: "élevée"}.get(avg_class, "inconnue")
|