Kr08 commited on
Commit
b792cce
·
verified ·
1 Parent(s): 5cf5423

Update audio_processing.py

Browse files
Files changed (1) hide show
  1. audio_processing.py +1 -1
audio_processing.py CHANGED
@@ -28,7 +28,7 @@ def preprocess_audio(audio, chunk_size=CHUNK_LENGTH*16000, overlap=OVERLAP*16000
28
  chunks.append(chunk)
29
  return chunks
30
 
31
- @spaces.GPU
32
  def process_audio(audio_file, translate=False, model_size="small"):
33
  start_time = time.time()
34
 
 
28
  chunks.append(chunk)
29
  return chunks
30
 
31
+ @spaces.GPU(duration=120)
32
  def process_audio(audio_file, translate=False, model_size="small"):
33
  start_time = time.time()
34