Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,7 +22,7 @@ def transcribe(audio):
|
|
| 22 |
|
| 23 |
iface = gr.Interface(
|
| 24 |
fn=transcribe,
|
| 25 |
-
inputs=gr.Audio(source="microphone", type="filepath"),
|
| 26 |
outputs="text",
|
| 27 |
examples=[
|
| 28 |
[os.path.join(os.path.dirname("."),"audio/chalyaami.mp3")],
|
|
|
|
| 22 |
|
| 23 |
iface = gr.Interface(
|
| 24 |
fn=transcribe,
|
| 25 |
+
inputs=[gr.Audio(source="microphone", type="filepath"), gr.Audio(source="upload", type="filepath")],
|
| 26 |
outputs="text",
|
| 27 |
examples=[
|
| 28 |
[os.path.join(os.path.dirname("."),"audio/chalyaami.mp3")],
|