Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
538e5248
Unverified
Commit
538e5248
authored
Dec 05, 2022
by
Arthur
Committed by
GitHub
Dec 05, 2022
Browse files
Ci-whisper-asr (#20588)
* Expected output for the test changed * fix failing asr test
parent
13e73668
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/pipelines/test_pipelines_automatic_speech_recognition.py
.../pipelines/test_pipelines_automatic_speech_recognition.py
+1
-1
No files found.
tests/pipelines/test_pipelines_automatic_speech_recognition.py
View file @
538e5248
...
...
@@ -386,7 +386,7 @@ class AutomaticSpeechRecognitionPipelineTests(unittest.TestCase, metaclass=Pipel
model
=
model
,
tokenizer
=
tokenizer
,
feature_extractor
=
feature_extractor
)
output_3
=
speech_translator
(
filename
)
self
.
assertEqual
(
output_3
,
{
"text"
:
" Un uomo ha detto all
o
universo, Sir, esiste."
})
self
.
assertEqual
(
output_3
,
{
"text"
:
" Un uomo ha detto all
'
universo, Sir, esiste."
})
@
slow
@
require_torch
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment