tommy24 commited on
Commit
8802542
·
1 Parent(s): 9efe624

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,5 +23,5 @@ def function1(prompt):
23
  sound.export(mp3_file, format="mp3")
24
  return mp3_file
25
 
26
- iface = gr.Interface(fn=function1, inputs="text", outputs=[gr.Audio(label="Audio",type="file")])
27
  iface.launch()
 
23
  sound.export(mp3_file, format="mp3")
24
  return mp3_file
25
 
26
+ iface = gr.Interface(fn=function1, inputs="text", outputs=[gr.Audio(label="Audio",type="numpy")])
27
  iface.launch()