Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -170,10 +170,11 @@ async def load_model_data():
|
|
170 |
onnx_models = model_names # Populate onnx_models here
|
171 |
print(config_names[0])
|
172 |
print(model_names[0])
|
173 |
-
for config_name in config_names
|
|
|
174 |
# Load the configuration data for each model (including speaker_id_map)
|
175 |
config = load_model_configuration(models_path, config_name) # Pass config_name, not models_path
|
176 |
-
|
177 |
if config:
|
178 |
model_configurations[config_name] = config
|
179 |
|
|
|
170 |
onnx_models = model_names # Populate onnx_models here
|
171 |
print(config_names[0])
|
172 |
print(model_names[0])
|
173 |
+
for config_name in config_names:
|
174 |
+
print(config_name)
|
175 |
# Load the configuration data for each model (including speaker_id_map)
|
176 |
config = load_model_configuration(models_path, config_name) # Pass config_name, not models_path
|
177 |
+
|
178 |
if config:
|
179 |
model_configurations[config_name] = config
|
180 |
|