Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
|
28 |
print(f"Bruker enhet: {device}")
|
29 |
|
30 |
@spaces.GPU(duration=60 * 2)
|
31 |
-
def pipe(file, return_timestamps=False,lang):
|
32 |
asr = pipeline(
|
33 |
task="automatic-speech-recognition",
|
34 |
model=MODEL_NAME,
|
|
|
28 |
print(f"Bruker enhet: {device}")
|
29 |
|
30 |
@spaces.GPU(duration=60 * 2)
|
31 |
+
def pipe(file, return_timestamps=False,lang="no"):
|
32 |
asr = pipeline(
|
33 |
task="automatic-speech-recognition",
|
34 |
model=MODEL_NAME,
|