Gregniuki commited on
Commit
9ecdfcd
·
1 Parent(s): 7527162

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -168,7 +168,9 @@ async def load_model_data():
168
  # Collect data for all models in the directory and populate model_configurations
169
  model_names, config_names = detect_onnx_models(models_path)
170
  onnx_models = model_names # Populate onnx_models here
171
- for config_name in config_names:
 
 
172
  # Load the configuration data for each model (including speaker_id_map)
173
  config = load_model_configuration(models_path, config_name) # Pass config_name, not models_path
174
  print(config_name)
 
168
  # Collect data for all models in the directory and populate model_configurations
169
  model_names, config_names = detect_onnx_models(models_path)
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
  print(config_name)