enhanced xtts

This commit is contained in:
Saifeddine ALOUI 2024-02-05 20:37:46 +01:00
parent f627e7711d
commit 6574384ac1
2 changed files with 2 additions and 2 deletions

View File

@ -241,7 +241,7 @@ def start_recording():
lollmsElfServer.rec_output_folder = lollmsElfServer.lollms_paths.personal_outputs_path/"audio_rec" lollmsElfServer.rec_output_folder = lollmsElfServer.lollms_paths.personal_outputs_path/"audio_rec"
lollmsElfServer.rec_output_folder.mkdir(exist_ok=True, parents=True) lollmsElfServer.rec_output_folder.mkdir(exist_ok=True, parents=True)
lollmsElfServer.summoned = False lollmsElfServer.summoned = False
lollmsElfServer.audio_cap = AudioRecorder(lollmsElfServer.sio,lollmsElfServer.rec_output_folder/"rt.wav", callback=lollmsElfServer.audio_callback,lollmsCom=lollmsElfServer) lollmsElfServer.audio_cap = AudioRecorder(lollmsElfServer.sio,lollmsElfServer.rec_output_folder/"rt.wav", callback=lollmsElfServer.audio_callback,lollmsCom=lollmsElfServer, transcribe=True)
lollmsElfServer.audio_cap.start_recording() lollmsElfServer.audio_cap.start_recording()
except: except:
lollmsElfServer.InfoMessage("Couldn't load media library.\nYou will not be able to perform any of the media linked operations. please verify the logs and install any required installations") lollmsElfServer.InfoMessage("Couldn't load media library.\nYou will not be able to perform any of the media linked operations. please verify the logs and install any required installations")

@ -1 +1 @@
Subproject commit b1537b5df3ebefeaa81c147b9573b103bb4e5a4e Subproject commit d0975b0c6ad01b4385512755af32fa505c4f3bdb