Spaces:
Build error
Build error
patrickvonplaten
commited on
Commit
•
337470e
1
Parent(s):
b393952
Update app.py
Browse files
app.py
CHANGED
@@ -78,8 +78,8 @@ MAPPING = {
|
|
78 |
iface = gr.Interface(
|
79 |
fn=transcribe,
|
80 |
inputs=[
|
81 |
-
gr.inputs.Audio(source="microphone", type='
|
82 |
-
gr.inputs.Audio(source="upload", type='
|
83 |
gr.inputs.Dropdown(target_language),
|
84 |
],
|
85 |
outputs="text",
|
|
|
78 |
iface = gr.Interface(
|
79 |
fn=transcribe,
|
80 |
inputs=[
|
81 |
+
gr.inputs.Audio(source="microphone", type='filepath', optional=True),
|
82 |
+
gr.inputs.Audio(source="upload", type='filpath', optional=True),
|
83 |
gr.inputs.Dropdown(target_language),
|
84 |
],
|
85 |
outputs="text",
|