savbell / whisper-writer

💬📝 A small dictation app using OpenAI's Whisper speech recognition model.
GNU General Public License v3.0
244 stars 40 forks source link

fix long prefix of spaces when pasting #19

Closed GrahamboJangles closed 6 months ago

GrahamboJangles commented 6 months ago

result.split(" ")

savbell commented 6 months ago

Thanks for the PR! :) Maybe we could make these result.strip() rather than result.strip(" ") to capture all whitespace characters?

GrahamboJangles commented 6 months ago

@savbell No problem. Thanks for the repository. Works great and is easy to run. I think that sounds like a good idea!

savbell commented 6 months ago

Great to hear! Thanks again! :)