Spaces:
Runtime error
Runtime error
Epsilon617
commited on
Commit
·
79ca3c1
1
Parent(s):
4d96759
fix input
Browse files- __pycache__/app.cpython-310.pyc +0 -0
- app.py +2 -2
__pycache__/app.cpython-310.pyc
CHANGED
|
Binary files a/__pycache__/app.cpython-310.pyc and b/__pycache__/app.cpython-310.pyc differ
|
|
|
app.py
CHANGED
|
@@ -30,10 +30,10 @@ logger.addHandler(ch)
|
|
| 30 |
|
| 31 |
inputs = [
|
| 32 |
gr.components.Audio(type="filepath", label="Add music audio file"),
|
| 33 |
-
gr.
|
| 34 |
]
|
| 35 |
live_inputs = [
|
| 36 |
-
gr.
|
| 37 |
]
|
| 38 |
# outputs = [gr.components.Textbox()]
|
| 39 |
# outputs = [gr.components.Textbox(), transcription_df]
|
|
|
|
| 30 |
|
| 31 |
inputs = [
|
| 32 |
gr.components.Audio(type="filepath", label="Add music audio file"),
|
| 33 |
+
gr.inputs.Audio(source="microphone", type="filepath"),
|
| 34 |
]
|
| 35 |
live_inputs = [
|
| 36 |
+
gr.Audio(source="microphone",streaming=True, type="filepath"),
|
| 37 |
]
|
| 38 |
# outputs = [gr.components.Textbox()]
|
| 39 |
# outputs = [gr.components.Textbox(), transcription_df]
|