Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ cpu_param = "--cpu" if not torch.cuda.is_available() else ""
|
|
8 |
|
9 |
import gradio as gr
|
10 |
|
11 |
-
def greet
|
12 |
|
13 |
iface = gr.Interface(fn=greet, inputs="text", outputs="audio")
|
14 |
iface.launch()
|
|
|
8 |
|
9 |
import gradio as gr
|
10 |
|
11 |
+
def greet(voice):
|
12 |
|
13 |
iface = gr.Interface(fn=greet, inputs="text", outputs="audio")
|
14 |
iface.launch()
|