Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ def convert_to_wav(audio_file):
|
|
74 |
#"pad_token_id and eos_token_id must be distinct..and they is not"
|
75 |
|
76 |
|
77 |
-
@spaces.GPU()
|
78 |
# transcription
|
79 |
def transcribe_audio(audio_file, batch_size=4):
|
80 |
start_time = time.time()
|
|
|
74 |
#"pad_token_id and eos_token_id must be distinct..and they is not"
|
75 |
|
76 |
|
77 |
+
@spaces.GPU(queue=True)
|
78 |
# transcription
|
79 |
def transcribe_audio(audio_file, batch_size=4):
|
80 |
start_time = time.time()
|