xieli commited on
Commit
4eebcec
·
1 Parent(s): f90ac73

feat: update duration

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -439,7 +439,7 @@ class EditxTab:
439
  value = None if len(choices) == 0 else choices[0]
440
  return gr.Dropdown(label="Sub-task", choices=choices, value=value)
441
 
442
- @spaces.GPU(duration=get_gpu_duration)
443
  def transcribe_audio(self, audio_input, current_text):
444
  """Transcribe audio using Whisper ASR when prompt text is empty"""
445
  global whisper_asr
 
439
  value = None if len(choices) == 0 else choices[0]
440
  return gr.Dropdown(label="Sub-task", choices=choices, value=value)
441
 
442
+ @spaces.GPU(duration=30)
443
  def transcribe_audio(self, audio_input, current_text):
444
  """Transcribe audio using Whisper ASR when prompt text is empty"""
445
  global whisper_asr