mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-01-21 03:55:01 +00:00
fixed bug
This commit is contained in:
parent
b6530a6403
commit
cb090d32fd
@ -354,7 +354,7 @@ class RTCom:
|
||||
# self.transcription_signal.update_status.emit("Transcribing")
|
||||
self.lc.info("Transcribing")
|
||||
ASCIIColors.green("<<TRANSCRIBING>>")
|
||||
result = self.lc.tts.transcribe(str(Path(self.logs_folder)/filename))
|
||||
result = self.lc.stt.transcribe(str(Path(self.logs_folder)/filename))
|
||||
transcription_fn = str(Path(self.logs_folder)/filename) + ".txt"
|
||||
with open(transcription_fn, "w", encoding="utf-8") as f:
|
||||
f.write(result["text"])
|
||||
|
Loading…
Reference in New Issue
Block a user