Morgan Funtowicz
commited on
Commit
·
149f453
1
Parent(s):
127ed84
test(python): do not put any model name?
Browse files- tests/test_openai.py +2 -2
tests/test_openai.py
CHANGED
@@ -35,7 +35,7 @@ def test_seq_openai_client_no_params(dataset: Dataset, response_format: str):
|
|
35 |
with BytesIO() as audio_buffer:
|
36 |
sf.write(audio_buffer, sample["audio"]["array"], sample["audio"]["sampling_rate"], format="WAV")
|
37 |
response = client.audio.transcriptions.create(
|
38 |
-
file=audio_buffer, model="
|
39 |
)
|
40 |
|
41 |
if response_format == "verbose_json":
|
@@ -57,7 +57,7 @@ def test_seq_openai_client_temperature(dataset: Dataset, response_format: str):
|
|
57 |
sf.write(audio_buffer, sample["audio"]["array"], sample["audio"]["sampling_rate"], format="WAV")
|
58 |
response = client.audio.transcriptions.create(
|
59 |
file=audio_buffer,
|
60 |
-
model="
|
61 |
temperature=1.0,
|
62 |
response_format=response_format
|
63 |
)
|
|
|
35 |
with BytesIO() as audio_buffer:
|
36 |
sf.write(audio_buffer, sample["audio"]["array"], sample["audio"]["sampling_rate"], format="WAV")
|
37 |
response = client.audio.transcriptions.create(
|
38 |
+
file=audio_buffer, model="", response_format=response_format
|
39 |
)
|
40 |
|
41 |
if response_format == "verbose_json":
|
|
|
57 |
sf.write(audio_buffer, sample["audio"]["array"], sample["audio"]["sampling_rate"], format="WAV")
|
58 |
response = client.audio.transcriptions.create(
|
59 |
file=audio_buffer,
|
60 |
+
model="",
|
61 |
temperature=1.0,
|
62 |
response_format=response_format
|
63 |
)
|