Update app.py
Browse files
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='请输入您的
|
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()
|