Jayashree Sridhar
commited on
Commit
·
acc777a
1
Parent(s):
78c1e7f
modified transformer calling pipeline
Browse files
agents/tools/voice_tools.py
CHANGED
|
@@ -34,7 +34,7 @@ class MultilingualVoiceProcessor:
|
|
| 34 |
# )
|
| 35 |
self.pipe = pipeline(
|
| 36 |
"automatic-speech-recognition",
|
| 37 |
-
model=
|
| 38 |
device=device,
|
| 39 |
generate_kwargs={"task": "transcribe", "return_timestamps": False},
|
| 40 |
)
|
|
|
|
| 34 |
# )
|
| 35 |
self.pipe = pipeline(
|
| 36 |
"automatic-speech-recognition",
|
| 37 |
+
model=model_name,
|
| 38 |
device=device,
|
| 39 |
generate_kwargs={"task": "transcribe", "return_timestamps": False},
|
| 40 |
)
|