mirror of
https://github.com/tiennm99/cheahjs-free-llm-api-resources.git
synced 2026-10-14 04:15:49 +00:00
fix: make 1-second-of-silence.mp3 path agnostic
This commit is contained in:
1 parent
8875f5b6ff
commit
e1daeff61b
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user