Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -270,13 +270,12 @@ async def main(
|
|
270 |
"file_url": file_url,
|
271 |
"text_input": text_input,
|
272 |
"data": data,
|
273 |
-
# "model_names": onnx_models,
|
274 |
"selected_model": selected_model,
|
275 |
"model_names": model_configurations.keys(),
|
276 |
"initial_selected_model": initial_selected_model,
|
277 |
"initial_selected_speaker_id": initial_selected_speaker_id,
|
278 |
"speaker_id_map": speaker_id_map, # Make sure speaker_id_map is included here
|
279 |
-
|
280 |
"dynamic_content": response_html
|
281 |
})
|
282 |
|
|
|
270 |
"file_url": file_url,
|
271 |
"text_input": text_input,
|
272 |
"data": data,
|
|
|
273 |
"selected_model": selected_model,
|
274 |
"model_names": model_configurations.keys(),
|
275 |
"initial_selected_model": initial_selected_model,
|
276 |
"initial_selected_speaker_id": initial_selected_speaker_id,
|
277 |
"speaker_id_map": speaker_id_map, # Make sure speaker_id_map is included here
|
278 |
+
|
279 |
"dynamic_content": response_html
|
280 |
})
|
281 |
|