Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -126,7 +126,8 @@ gr.Interface(
|
|
| 126 |
run,
|
| 127 |
inputs=[
|
| 128 |
#gr.inputs.Audio(source="microphone", type="filepath", label="Record something..."),
|
| 129 |
-
gr.
|
|
|
|
| 130 |
gr.inputs.Radio(label="Language", choices=LANGUAGES),
|
| 131 |
gr.inputs.Radio(label="Decoding type", choices=["greedy", "LM"]),
|
| 132 |
# gr.inputs.Radio(label="Model size", choices=["300M", "1B"]),
|
|
|
|
| 126 |
run,
|
| 127 |
inputs=[
|
| 128 |
#gr.inputs.Audio(source="microphone", type="filepath", label="Record something..."),
|
| 129 |
+
gr.Audio(source="microphone", type='filepath', streaming=True),
|
| 130 |
+
#gr.inputs.Audio(source="microphone", type="filepath", label="Record something...", streaming="True"),
|
| 131 |
gr.inputs.Radio(label="Language", choices=LANGUAGES),
|
| 132 |
gr.inputs.Radio(label="Decoding type", choices=["greedy", "LM"]),
|
| 133 |
# gr.inputs.Radio(label="Model size", choices=["300M", "1B"]),
|