Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def convert_audio_format(audio_path):
|
|
32 |
ffmpeg.input(audio_path).output(output_path, format='wav', ar='16000').run(overwrite_output=True)
|
33 |
return output_path
|
34 |
|
35 |
-
@spaces.GPU(duration=120, queue=False)
|
36 |
def transcribe_audio(audio_file, batch_size=4):
|
37 |
start_time = time.time()
|
38 |
audio_path = convert_audio_format(audio_file)
|
|
|
32 |
ffmpeg.input(audio_path).output(output_path, format='wav', ar='16000').run(overwrite_output=True)
|
33 |
return output_path
|
34 |
|
35 |
+
# @spaces.GPU(duration=120, queue=False)
|
36 |
def transcribe_audio(audio_file, batch_size=4):
|
37 |
start_time = time.time()
|
38 |
audio_path = convert_audio_format(audio_file)
|