haoheliu commited on
Commit
a5d109b
1 Parent(s): 33d62f7

add app file

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  import numpy as np
3
 
4
  def greet(name):
5
- return (16000, np.random.randn(16000))
6
 
7
- iface = gr.Interface(fn=greet, inputs="text", outputs="audio")
8
  iface.launch()
 
2
  import numpy as np
3
 
4
  def greet(name):
5
+ return [(16000, np.random.randn(16000)), (16000, np.random.randn(16000)), (16000, np.random.randn(16000))]
6
 
7
+ iface = gr.Interface(fn=greet, inputs="text", outputs=["audio", "audio", "audio"])
8
  iface.launch()