Kevin676 commited on
Commit
48c1c40
1 Parent(s): 2f8e5b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -226,7 +226,8 @@ def greet(Text2, audio, Voicetoclone,VoiceMicrophone):
226
 
227
  gr.Interface(
228
  fn=greet,
229
- inputs=[gr.Textbox(label='请输入您的openai.api_key', type = "password"), gr.Audio(source="microphone", label='在这里进行对话', type="filepath"), gr.Audio(type="filepath", source="upload",label='Please upload a voice to clone (max. 30mb)'), gr.Audio(source="microphone", type="filepath")],
230
  outputs=["text", "text", "audio"],
231
  title="🥳💬💕 - TalktoAI,随时随地,谈天说地!",
 
232
  ).launch()
 
226
 
227
  gr.Interface(
228
  fn=greet,
229
+ inputs=[gr.Textbox(label='请输入您的Openai-API-Key', type = "password"), gr.Audio(source="microphone", label='请在这里进行对话吧!随时随地,谈天说地!', type="filepath"), gr.Audio(type="filepath", source="upload",label='请上传您喜欢的声音(wav文件, max. 30mb)'), gr.Audio(source="microphone", type="filepath", label='请用麦克风上传您喜欢的声音,与文件上传二选一即可')],
230
  outputs=["text", "text", "audio"],
231
  title="🥳💬💕 - TalktoAI,随时随地,谈天说地!",
232
+ description = "🤖 - 让有人文关怀的AI造福每一个人!AI向善,文明璀璨!TalktoAI - Enable the future!",
233
  ).launch()