fixed endpoint

This commit is contained in:
Saifeddine ALOUI 2024-05-20 15:35:52 +02:00
parent 45cc5e39b9
commit 2b4f4cf7f6

View File

@ -308,9 +308,9 @@ def tts_is_ready():
@router.get("/get_snd_input_devices")
def get_snd_input_devices():
lollmsElfServer.stt.get_devices()
return lollmsElfServer.stt.get_devices()
@router.get("/get_snd_output_devices")
def get_snd_output_devices():
lollmsElfServer.tts.get_devices()
return lollmsElfServer.tts.get_devices()