Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def transcribe(microphone, file_upload):
|
|
33 |
|
34 |
file = microphone if microphone is not None else file_upload
|
35 |
|
36 |
-
text = pipe(file,language='
|
37 |
|
38 |
return warn_output + text
|
39 |
|
|
|
33 |
|
34 |
file = microphone if microphone is not None else file_upload
|
35 |
|
36 |
+
text = pipe(file,language='zh')["text"]
|
37 |
|
38 |
return warn_output + text
|
39 |
|