Luigi commited on
Commit
641e003
·
1 Parent(s): ac0d0ca

reduce GPU duration to default

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -131,7 +131,7 @@ def _transcribe_whisper_cpu(model_id, language, audio_path, enable_diar):
131
  return transcript, ""
132
 
133
 
134
- @spaces.GPU(duration=100)
135
  def _transcribe_whisper_gpu(model_id, language, audio_path, enable_diar):
136
  pipe = get_whisper_pipe(model_id, 0)
137
  # Diarization-only branch
@@ -213,7 +213,7 @@ def _transcribe_sense_cpu(model_id: str,
213
  return text, ""
214
 
215
 
216
- @spaces.GPU(duration=100)
217
  def _transcribe_sense_gpu(model_id: str,
218
  language: str,
219
  audio_path: str,
 
131
  return transcript, ""
132
 
133
 
134
+ @spaces.GPU
135
  def _transcribe_whisper_gpu(model_id, language, audio_path, enable_diar):
136
  pipe = get_whisper_pipe(model_id, 0)
137
  # Diarization-only branch
 
213
  return text, ""
214
 
215
 
216
+ @spaces.GPU
217
  def _transcribe_sense_gpu(model_id: str,
218
  language: str,
219
  audio_path: str,