Gregniuki commited on
Commit
a8ba439
·
1 Parent(s): 39f99a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -142,8 +142,9 @@ def get_initial_values():
142
  return selected_model, selected_speaker_id
143
  @app.get("/get_speaker_id_map")
144
  async def get_speaker_id_map(selected_model: str):
 
145
  config = model_configurations.get(selected_model)
146
- print(config)
147
  if config:
148
  speaker_id_map = config.get("speaker_id_map", {})
149
  return {"speaker_id_map": speaker_id_map}
 
142
  return selected_model, selected_speaker_id
143
  @app.get("/get_speaker_id_map")
144
  async def get_speaker_id_map(selected_model: str):
145
+ print("selected model",selected_model)
146
  config = model_configurations.get(selected_model)
147
+ print("selectef config ",config)
148
  if config:
149
  speaker_id_map = config.get("speaker_id_map", {})
150
  return {"speaker_id_map": speaker_id_map}