Spaces:
Sleeping
Sleeping
Update services/asr.py
Browse files- services/asr.py +0 -1
services/asr.py
CHANGED
@@ -10,7 +10,6 @@ class Transcriber:
|
|
10 |
return pipeline(
|
11 |
self.conf["model"]["asr"]["type"],
|
12 |
model=self.conf["model"]["asr"]["transcriber"],
|
13 |
-
language="en",
|
14 |
device=0 if torch.cuda.is_available() else -1 # Use 0 for GPU, -1 for CPU
|
15 |
)
|
16 |
|
|
|
10 |
return pipeline(
|
11 |
self.conf["model"]["asr"]["type"],
|
12 |
model=self.conf["model"]["asr"]["transcriber"],
|
|
|
13 |
device=0 if torch.cuda.is_available() else -1 # Use 0 for GPU, -1 for CPU
|
14 |
)
|
15 |
|