leonliuzx commited on
Commit
6c2744d
·
verified ·
1 Parent(s): 514328f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ examples=[['你好,欢迎使用百度飞桨深度学习框架!']]
16
  gr.Interface(
17
  fn=inference,
18
  inputs=gr.Textbox(label="input text", lines=10),
19
- outputs=gr.Audio(type="file", label="Output"),
20
  title=title,
21
  description=description,
22
  article=article,
 
16
  gr.Interface(
17
  fn=inference,
18
  inputs=gr.Textbox(label="input text", lines=10),
19
+ outputs=gr.Audio(type="filepath", label="Output"),
20
  title=title,
21
  description=description,
22
  article=article,