Spaces:
Runtime error
Runtime error
Commit
Β·
6733137
1
Parent(s):
2b62315
Update app.py
Browse files
app.py
CHANGED
@@ -48,6 +48,7 @@ def transcribe(audio):
|
|
48 |
text=translate(text_from_whisper,"eng_Latn","zho_Hans")
|
49 |
return text
|
50 |
|
|
|
51 |
gr.Interface(
|
52 |
fn=transcribe,
|
53 |
inputs=gr.Audio(source="microphone", type="filepath"),
|
|
|
48 |
text=translate(text_from_whisper,"eng_Latn","zho_Hans")
|
49 |
return text
|
50 |
|
51 |
+
|
52 |
gr.Interface(
|
53 |
fn=transcribe,
|
54 |
inputs=gr.Audio(source="microphone", type="filepath"),
|