danielwm994 commited on
Commit
186785f
·
verified ·
1 Parent(s): cae9757

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,7 +24,7 @@ pipe = pipeline(
24
  )
25
 
26
 
27
- @spaces.GPU(duration=20)
28
  def transcribe(inputs, task):
29
  if inputs is None:
30
  raise gr.Error("No audio file submitted! Please upload or record an audio file before submitting your request.")
@@ -79,7 +79,7 @@ def download_yt_audio(yt_url, filename):
79
  except youtube_dl.utils.ExtractorError as err:
80
  raise gr.Error(str(err))
81
 
82
- @spaces.GPU(duration=20)
83
  def yt_transcribe(yt_url, task, max_filesize=75.0):
84
  html_embed_str = _return_yt_html_embed(yt_url)
85
 
 
24
  )
25
 
26
 
27
+ @spaces.GPU(duration=90)
28
  def transcribe(inputs, task):
29
  if inputs is None:
30
  raise gr.Error("No audio file submitted! Please upload or record an audio file before submitting your request.")
 
79
  except youtube_dl.utils.ExtractorError as err:
80
  raise gr.Error(str(err))
81
 
82
+ @spaces.GPU(duration=90)
83
  def yt_transcribe(yt_url, task, max_filesize=75.0):
84
  html_embed_str = _return_yt_html_embed(yt_url)
85