Spaces:
Runtime error
Runtime error
Commit ·
b81d6e7
1
Parent(s): 051fb09
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,7 @@ import gradio as gr
|
|
| 52 |
def greet(name):
|
| 53 |
return "Hello " + name + "!!"
|
| 54 |
|
| 55 |
-
iface = gr.Interface(fn=
|
| 56 |
iface.launch()
|
| 57 |
|
| 58 |
|
|
|
|
| 52 |
def greet(name):
|
| 53 |
return "Hello " + name + "!!"
|
| 54 |
|
| 55 |
+
iface = gr.Interface(fn=transcribe, inputs=gr.inputs.Audio(source="upload", optional=True, label="Audio file", type="filepath"), outputs="text")
|
| 56 |
iface.launch()
|
| 57 |
|
| 58 |
|