Spaces:
Runtime error
Runtime error
Upload gradio_interface.py
Browse files- gradio_interface.py +7 -0
gradio_interface.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
|
4 |
+
gr.Interface(
|
5 |
+
fn=transcribe,
|
6 |
+
inputs=gr.inputs.Audio(source="microphone", type="filepath"),
|
7 |
+
outputs="text").launch()
|