KikoDM commited on
Commit
2339e41
1 Parent(s): 0549f6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -33,16 +33,16 @@ loaded_model = model_from_json(model_json2)
33
  loaded_model.load_weights("focusondriving.h5")
34
 
35
  class_dict = {
36
- 'c0': 'hands on the wheel',
37
- 'c1': 'mobile in right hand',
38
- 'c2': 'talking on the phone with right hand',
39
- 'c3': "mobile in left hand",
40
- 'c4': 'talking on the phone with left hand',
41
- 'c5': 'touching at the dash',
42
- 'c6': 'drinking',
43
- 'c7': 'reaching behind',
44
- 'c8': 'touching the head',
45
- 'c9': 'looking to the side'
46
  }
47
 
48
  def predict_image(pic):
 
33
  loaded_model.load_weights("focusondriving.h5")
34
 
35
  class_dict = {
36
+ 'c0': 'Manos en el volante',
37
+ 'c1': 'M贸vil en la mano derecha',
38
+ 'c2': 'Hablando por el tel茅fono con la mano derecha',
39
+ 'c3': "M贸vil en la mano izquierda",
40
+ 'c4': 'Hablando con el tel茅fono con la mano izquierda',
41
+ 'c5': 'Tocando el salpicadero',
42
+ 'c6': 'Bebiendo',
43
+ 'c7': 'Buscando detr谩s',
44
+ 'c8': 'Toc谩ndose la cabeza',
45
+ 'c9': 'Mirando al lado'
46
  }
47
 
48
  def predict_image(pic):