Spaces:
Build error
Build error
Update audio_processing.py
Browse files- 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 |
|