Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ auth_token = os.environ.get("AUTH_TOKEN") or True
|
|
23 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
24 |
print(f"Using device: {device}")
|
25 |
|
26 |
-
@spaces.GPU(duration=
|
27 |
def pipe(file, return_timestamps=False):
|
28 |
asr = pipeline(
|
29 |
task="automatic-speech-recognition",
|
|
|
23 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
24 |
print(f"Using device: {device}")
|
25 |
|
26 |
+
@spaces.GPU(duration=60)
|
27 |
def pipe(file, return_timestamps=False):
|
28 |
asr = pipeline(
|
29 |
task="automatic-speech-recognition",
|