Spaces:
Sleeping
Sleeping
sotirios-slv
commited on
Commit
•
50a8cbc
1
Parent(s):
e0a729c
Added required tokenizer arg
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ processor = AutoProcessor.from_pretrained(model_id)
|
|
21 |
pipe = pipeline(
|
22 |
task="automatic-speech-recognition",
|
23 |
model=model,
|
24 |
-
|
25 |
# feature_extractor=processor.feature_extractor,
|
26 |
# max_new_tokens=128,
|
27 |
chunk_length_s=30,
|
|
|
21 |
pipe = pipeline(
|
22 |
task="automatic-speech-recognition",
|
23 |
model=model,
|
24 |
+
tokenizer=processor.tokenizer,
|
25 |
# feature_extractor=processor.feature_extractor,
|
26 |
# max_new_tokens=128,
|
27 |
chunk_length_s=30,
|