fix: make 1-second-of-silence.mp3 path agnostic

This commit is contained in:
Jun Siang Cheah (aider) committed 2024-09-01 23:22:56 +01:00
1 parent 8875f5b6ff
commit e1daeff61b
1 file changed
+1 -1
+1 -1
View File
@@ -123,7 +123,7 @@ def get_groq_limits_for_stt_model(model_id):
"model": model_id,
},
files={
"file": open("1-second-of-silence.mp3", "rb"),
"file": open(os.path.join(script_dir, "1-second-of-silence.mp3"), "rb"),
},
)
r.raise_for_status()