Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -31,11 +31,7 @@ def get_model(model_type):
|
|
31 |
zip_ref.extractall('./')
|
32 |
|
33 |
model = keras.models.load_model(model_type)
|
34 |
-
|
35 |
-
if 'K400' in model_type:
|
36 |
-
data_type = 'K400'
|
37 |
-
else:
|
38 |
-
data_type = 'SSv2'
|
39 |
|
40 |
label_map = LABEL_MAPS.get(data_type)
|
41 |
label_map = {v: k for k, v in label_map.items()}
|
|
|
31 |
zip_ref.extractall('./')
|
32 |
|
33 |
model = keras.models.load_model(model_type)
|
34 |
+
print(model.summary())
|
|
|
|
|
|
|
|
|
35 |
|
36 |
label_map = LABEL_MAPS.get(data_type)
|
37 |
label_map = {v: k for k, v in label_map.items()}
|