diff --git a/speech2text.py b/speech2text.py index 07ab328..282d0a2 100644 --- a/speech2text.py +++ b/speech2text.py @@ -12,7 +12,7 @@ import time import wave # Load Whisper model once -model = whisper.load_model("base") +model = whisper.load_model("medium") # Recording parameters SAMPLE_RATE = 22000 @@ -146,7 +146,7 @@ class SpeechApp(Gtk.Window): self.text_view.scroll_to_mark(mark, 0.0, True, 0.0, 1.0) # Type the text using xdotool - subprocess.run(["xdotool", "type", "--delay", "50", text]) + # subprocess.run(["xdotool", "type", "--delay", "50", text]) # Update status back to Ready GLib.idle_add(self.update_status, "Ready")