Gregniuki commited on
Commit
cf56454
·
1 Parent(s): baaa84d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -138,7 +138,7 @@ async def get_speaker_id_map():
138
 
139
  # Replace this with the actual code to load the speaker_id_map
140
  selected_model = "model_name" # Replace with the selected model name
141
- config = load_model_configuration(selected_model)
142
 
143
  if config:
144
  speaker_id_map = config.get("speaker_id_map", {})
 
138
 
139
  # Replace this with the actual code to load the speaker_id_map
140
  selected_model = "model_name" # Replace with the selected model name
141
+ config = model_configurations[selected_model]
142
 
143
  if config:
144
  speaker_id_map = config.get("speaker_id_map", {})