Update app.py
Browse files
app.py
CHANGED
@@ -227,7 +227,7 @@ def greet(Text, audio, Voicetoclone,VoiceMicrophone):
|
|
227 |
|
228 |
demo = gr.Interface(
|
229 |
fn=greet,
|
230 |
-
inputs=[gr.inputs.Textbox(label='请输入您的openai.api_key'),gr.Audio(type="filepath", source="upload",label='Please upload a voice to clone (max. 30mb)'),gr.Audio(source="microphone", type="filepath", streaming=True)],
|
231 |
outputs="audio",
|
232 |
title="Bilal's Voice Cloning Tool"
|
233 |
)
|
|
|
227 |
|
228 |
demo = gr.Interface(
|
229 |
fn=greet,
|
230 |
+
inputs=[gr.inputs.Textbox(label='请输入您的openai.api_key'), 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", streaming=True)],
|
231 |
outputs="audio",
|
232 |
title="Bilal's Voice Cloning Tool"
|
233 |
)
|