Update app.py
Browse files
app.py
CHANGED
@@ -175,7 +175,7 @@ c1 = gr.Interface(
|
|
175 |
inputs=[
|
176 |
gr.Audio(source="microphone", label = "请开始对话吧!TalktoAI!", type="filepath"),
|
177 |
gr.Audio(source="upload", label = "请上传您喜欢的声音(wav/mp3文件)", type="filepath"),
|
178 |
-
gr.components.Textbox(lines=2, label="
|
179 |
gr.components.Slider(minimum=0, maximum=1, value=0.1, label="Temperature"),
|
180 |
gr.components.Slider(minimum=0, maximum=1, value=0.75, label="Top p"),
|
181 |
gr.components.Slider(minimum=0, maximum=100, step=1, value=40, label="Top k"),
|
@@ -206,7 +206,7 @@ c2 = gr.Interface(
|
|
206 |
inputs=[
|
207 |
gr.Audio(source="microphone", label = "请开始对话吧!TalktoAI!", type="filepath"),
|
208 |
gr.Audio(source="microphone", label = "请上传您喜欢的声音,并尽量避免噪音", type="filepath"),
|
209 |
-
gr.components.Textbox(lines=2, label="
|
210 |
gr.components.Slider(minimum=0, maximum=1, value=0.1, label="Temperature"),
|
211 |
gr.components.Slider(minimum=0, maximum=1, value=0.75, label="Top p"),
|
212 |
gr.components.Slider(minimum=0, maximum=100, step=1, value=40, label="Top k"),
|
|
|
175 |
inputs=[
|
176 |
gr.Audio(source="microphone", label = "请开始对话吧!TalktoAI!", type="filepath"),
|
177 |
gr.Audio(source="upload", label = "请上传您喜欢的声音(wav/mp3文件)", type="filepath"),
|
178 |
+
gr.components.Textbox(lines=2, label="提供对话的背景信息(选填)", placeholder="none"),
|
179 |
gr.components.Slider(minimum=0, maximum=1, value=0.1, label="Temperature"),
|
180 |
gr.components.Slider(minimum=0, maximum=1, value=0.75, label="Top p"),
|
181 |
gr.components.Slider(minimum=0, maximum=100, step=1, value=40, label="Top k"),
|
|
|
206 |
inputs=[
|
207 |
gr.Audio(source="microphone", label = "请开始对话吧!TalktoAI!", type="filepath"),
|
208 |
gr.Audio(source="microphone", label = "请上传您喜欢的声音,并尽量避免噪音", type="filepath"),
|
209 |
+
gr.components.Textbox(lines=2, label="提供对话的背景信息(选填)", placeholder="none"),
|
210 |
gr.components.Slider(minimum=0, maximum=1, value=0.1, label="Temperature"),
|
211 |
gr.components.Slider(minimum=0, maximum=1, value=0.75, label="Top p"),
|
212 |
gr.components.Slider(minimum=0, maximum=100, step=1, value=40, label="Top k"),
|