Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -30,8 +30,10 @@ def transcribe(file, state=""):
|
|
30 |
|
31 |
description = "A simple interface to transcribe from spoken Japanese to Hiragana."
|
32 |
article = "Author: <a href=\"https://huggingface.co/vumichien\">Vu Minh Chien</a>."
|
33 |
-
|
34 |
-
|
|
|
|
|
35 |
outputs = ["textbox", "state"]
|
36 |
|
37 |
examples = [["samples/BASIC5000_0001.wav",""],
|
|
|
30 |
|
31 |
description = "A simple interface to transcribe from spoken Japanese to Hiragana."
|
32 |
article = "Author: <a href=\"https://huggingface.co/vumichien\">Vu Minh Chien</a>."
|
33 |
+
|
34 |
+
inputs = [gr.Audio(source="microphone", type="filepath", optional=True),
|
35 |
+
gr.Audio(source="upload", type="filepath", optional=True),
|
36 |
+
]
|
37 |
outputs = ["textbox", "state"]
|
38 |
|
39 |
examples = [["samples/BASIC5000_0001.wav",""],
|