Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def get_model(model_type):
|
|
36 |
|
37 |
model = keras.models.load_model(model_type)
|
38 |
|
39 |
-
if '
|
40 |
data_type = 'K400'
|
41 |
else:
|
42 |
data_type = 'SSv2'
|
|
|
36 |
|
37 |
model = keras.models.load_model(model_type)
|
38 |
|
39 |
+
if 'K400' in model_type:
|
40 |
data_type = 'K400'
|
41 |
else:
|
42 |
data_type = 'SSv2'
|