Spaces:
Running
Running
Update app.py
Browse files
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 =
|
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", {})
|