Add project dependencies and setup instructions in requirements.txt

This commit is contained in:
2025-06-08 19:53:19 +02:00
parent 9cf4f03381
commit eb58ec0ca5

View File

@@ -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")