Kevin676 commited on
Commit
a45956f
1 Parent(s): f7c29ed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -231,7 +231,8 @@ demo = gr.Interface(
231
  gr.Audio(source="upload", type="filepath", label='请上传您喜欢的声音(wav文件)').
232
  gr.Audio(source="microphone", type="filepath", label = "请用麦克风上传您喜欢的声音,与wav文件二选一即可"),
233
  ],
234
- outputs=[gr.Textbox(label="Speech to Text"), gr.Textbox(label="ChatGPT Output"), "audio"],
 
235
  title="🥳💬💕 - TalktoAI,随时随地,谈天说地!"
236
  #theme="huggingface",
237
  #description = "🤖 - 让有人文关怀的AI造福每一个人!AI向善,文明璀璨!TalktoAI - Enable the future!",
 
231
  gr.Audio(source="upload", type="filepath", label='请上传您喜欢的声音(wav文件)').
232
  gr.Audio(source="microphone", type="filepath", label = "请用麦克风上传您喜欢的声音,与wav文件二选一即可"),
233
  ],
234
+ # outputs=[gr.Textbox(label="Speech to Text"), gr.Textbox(label="ChatGPT Output"), "audio"],
235
+ outputs="audio",
236
  title="🥳💬💕 - TalktoAI,随时随地,谈天说地!"
237
  #theme="huggingface",
238
  #description = "🤖 - 让有人文关怀的AI造福每一个人!AI向善,文明璀璨!TalktoAI - Enable the future!",