File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ async def test_basic_audio(foscolo):
39
39
# TODO remove once language detection is implemented
40
40
extra_body = dict (language = "it" ),
41
41
temperature = 0.0 )
42
- out = json .loads (translation )['text' ].strip ()
43
- assert "Nor will I ever touch the sacred " in out
42
+ out = json .loads (translation )['text' ].strip (). lower ()
43
+ assert "greek sea " in out
44
44
45
45
46
46
@pytest .mark .asyncio
@@ -168,5 +168,4 @@ async def test_long_audio_request(foscolo):
168
168
response_format = "text" ,
169
169
temperature = 0.0 )
170
170
out = json .loads (translation )['text' ].strip ().lower ()
171
- # TODO investigate higher model uncertainty in for longer translations.
172
- assert out .count ("nor will i ever" ) == 2
171
+ assert out .count ("greek sea" ) == 2
You can’t perform that action at this time.
0 commit comments