mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 19:24:59 +00:00
prettier
This commit is contained in:
parent
7b993a9bbb
commit
4812d17372
2 changed files with 4 additions and 1 deletions
|
@ -31,7 +31,7 @@ def record_and_transcribe():
|
|||
|
||||
with sf.SoundFile(filename, mode="x", samplerate=sample_rate, channels=1) as file:
|
||||
with sd.InputStream(samplerate=sample_rate, channels=1, callback=callback):
|
||||
input("Press ENTER when done speaking...")
|
||||
input("Recording... Press ENTER when done speaking...")
|
||||
|
||||
while not q.empty():
|
||||
file.write(q.get())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue