mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-24 06:46:40 +00:00
fix
This commit is contained in:
parent
6c2199b5f3
commit
0e38441616
@ -122,7 +122,6 @@ class AudioRecorder:
|
||||
self.audio_stream.close()
|
||||
write(self.filename, self.sample_rate, self.buffer)
|
||||
self.lollmsCom.info(f"Saved to {self.filename}")
|
||||
time.sleep(2)
|
||||
self.lollmsCom.info(f"Transcribing ... ")
|
||||
result = self.whisper_model.transcribe(str(self.filename))
|
||||
with open(self.filename.replace("wav","txt"), "w") as f:
|
||||
|
Loading…
Reference in New Issue
Block a user