Spaces:
Sleeping
Sleeping
Manjot Singh
commited on
Commit
·
102c75b
1
Parent(s):
e7a8496
reduced spaces duration decorator
Browse files- audio_processing.py +1 -1
audio_processing.py
CHANGED
@@ -32,7 +32,7 @@ def preprocess_audio(audio, chunk_size=CHUNK_LENGTH*16000, overlap=OVERLAP*16000
|
|
32 |
chunks.append(chunk)
|
33 |
return chunks
|
34 |
|
35 |
-
@spaces.GPU(duration=
|
36 |
def process_audio(audio_file, translate=False, model_size="small"):
|
37 |
start_time = time.time()
|
38 |
|
|
|
32 |
chunks.append(chunk)
|
33 |
return chunks
|
34 |
|
35 |
+
@spaces.GPU(duration=10)
|
36 |
def process_audio(audio_file, translate=False, model_size="small"):
|
37 |
start_time = time.time()
|
38 |
|