mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
proper temp file
This commit is contained in:
parent
b2cfee7bd7
commit
aba2bb610d
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ def record_and_transcribe():
|
|||
"""This is called (from a separate thread) for each audio block."""
|
||||
q.put(indata.copy())
|
||||
|
||||
filename = tempfile.mktemp(prefix="delme_rec_unlimited_", suffix=".wav", dir="")
|
||||
filename = tempfile.mktemp(suffix=".wav")
|
||||
|
||||
sample_rate = 16000 # 16kHz
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue