Spaces:
Build error
Build error
patrickvonplaten
commited on
Commit
•
0f0fe01
1
Parent(s):
958195e
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,6 @@ def process_audio_file(file):
|
|
19 |
return input_values
|
20 |
|
21 |
def transcribe(file, target_language):
|
22 |
-
|
23 |
target_code = target_language.split("(")[-1].split(")")[0]
|
24 |
forced_bos_token_id = MAPPING[target_code]
|
25 |
|
|
|
19 |
return input_values
|
20 |
|
21 |
def transcribe(file, target_language):
|
|
|
22 |
target_code = target_language.split("(")[-1].split(")")[0]
|
23 |
forced_bos_token_id = MAPPING[target_code]
|
24 |
|