versae commited on
Commit
127e4c7
·
verified ·
1 Parent(s): 69dba80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=120)
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",