Mahiruoshi commited on
Commit
d50814d
1 Parent(s): 2cca4b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -167,7 +167,7 @@ inputs = [gr.TextArea(label="输入你的文本,支持vits版在另一个仓
167
  gr.Slider(minimum= 0.01,maximum=1.0,label="更改噪声比例", value=0.127),
168
  gr.Slider(minimum= 0.01,maximum=1.0,label="更改噪声偏差", value=0.8),
169
  gr.Slider(minimum= 0.1,maximum=10,label="更改时间比例", value=1)]
170
- outputs=[ gr.Textbox(label="回复"),gr.Audio(type="22050", label="Output audio")]
171
  iface = gr.Interface(
172
  fn=infer,
173
  inputs=inputs,
 
167
  gr.Slider(minimum= 0.01,maximum=1.0,label="更改噪声比例", value=0.127),
168
  gr.Slider(minimum= 0.01,maximum=1.0,label="更改噪声偏差", value=0.8),
169
  gr.Slider(minimum= 0.1,maximum=10,label="更改时间比例", value=1)]
170
+ outputs=[ gr.Textbox(label="回复"),gr.Audio(type="numpy", label="Output audio")]
171
  iface = gr.Interface(
172
  fn=infer,
173
  inputs=inputs,