Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ model_json2 = file.read()
|
|
30 |
#file.close()
|
31 |
loaded_model = model_from_json(model_json2)
|
32 |
#loaded_model = model_from_json("focusondriving.json")
|
33 |
-
|
34 |
|
35 |
class_dict = {
|
36 |
'c0': 'hands on the wheel',
|
|
|
30 |
#file.close()
|
31 |
loaded_model = model_from_json(model_json2)
|
32 |
#loaded_model = model_from_json("focusondriving.json")
|
33 |
+
loaded_model.load_weights("focusondriving.h5")
|
34 |
|
35 |
class_dict = {
|
36 |
'c0': 'hands on the wheel',
|