Spaces:
Runtime error
Runtime error
Update streamlit_presentation/modele.py
Browse files
streamlit_presentation/modele.py
CHANGED
@@ -93,15 +93,15 @@ def presentation_modele(st,data, model,class_labels, y_test,encoder):
|
|
93 |
cat_dict = {
|
94 |
'10':"Livres anciens",
|
95 |
'40':"Jeux import",
|
96 |
-
"50" : "accessoires jeux consoles
|
97 |
"60": "consoles rétro",
|
98 |
-
"1140" :"figurines",
|
99 |
"1160": "cartes à collectionner",
|
100 |
-
"1180": "
|
101 |
"1280": "jouet enfant",
|
102 |
-
"1281": "
|
103 |
"1300": "Modèles réduits et accessoires",
|
104 |
-
"1301": "
|
105 |
"1302": "jeux d'extérieur",
|
106 |
"1320": "Accessoire puériculture",
|
107 |
"1560": "Cuisine et accessoire maison",
|
@@ -109,15 +109,15 @@ def presentation_modele(st,data, model,class_labels, y_test,encoder):
|
|
109 |
"1940": "ingrédients culinaires",
|
110 |
"2060": "Déco Maison",
|
111 |
"2220": "accessoires animalerie",
|
112 |
-
"2280": "Magazines",
|
113 |
-
"2403": "livres anciens",
|
114 |
"2462": "consoles et accessoires occasion",
|
115 |
"2522": "papeterie",
|
116 |
-
"2582": "
|
117 |
"2583": "piscine et accessoires",
|
118 |
"2585": "Le Jardin",
|
119 |
"2705": "livres",
|
120 |
-
"2905": "jeux en téléchargement
|
121 |
}
|
122 |
print(val_pred)
|
123 |
print(val_true)
|
|
|
93 |
cat_dict = {
|
94 |
'10':"Livres anciens",
|
95 |
'40':"Jeux import",
|
96 |
+
"50" : "accessoires jeux consoles",
|
97 |
"60": "consoles rétro",
|
98 |
+
"1140" :"figurines jeu et jeux de roles",
|
99 |
"1160": "cartes à collectionner",
|
100 |
+
"1180": "figurines miniatures",
|
101 |
"1280": "jouet enfant",
|
102 |
+
"1281": "jouets enfants",
|
103 |
"1300": "Modèles réduits et accessoires",
|
104 |
+
"1301": "chaussettes enfant",
|
105 |
"1302": "jeux d'extérieur",
|
106 |
"1320": "Accessoire puériculture",
|
107 |
"1560": "Cuisine et accessoire maison",
|
|
|
109 |
"1940": "ingrédients culinaires",
|
110 |
"2060": "Déco Maison",
|
111 |
"2220": "accessoires animalerie",
|
112 |
+
"2280": "Magazines anciens",
|
113 |
+
"2403": "Lots de livres anciens",
|
114 |
"2462": "consoles et accessoires occasion",
|
115 |
"2522": "papeterie",
|
116 |
+
"2582": "mobilier de jardin",
|
117 |
"2583": "piscine et accessoires",
|
118 |
"2585": "Le Jardin",
|
119 |
"2705": "livres",
|
120 |
+
"2905": "jeux en téléchargement",
|
121 |
}
|
122 |
print(val_pred)
|
123 |
print(val_true)
|