Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -124,7 +124,7 @@ g = gr.Interface(
|
|
124 |
inputs=[
|
125 |
# gr.components.Textbox(lines=2, label="Instruction", value="Tell me about ravens."),
|
126 |
gr.Audio(source="microphone", label = "请开始对话吧!", type="filepath"),
|
127 |
-
|
128 |
gr.components.Textbox(lines=2, label="Input", placeholder="none"),
|
129 |
gr.components.Slider(minimum=10, maximum=200, step=10, value=150), # token_count
|
130 |
gr.components.Slider(minimum=0.2, maximum=2.0, step=0.1, value=1.0), # temperature
|
|
|
124 |
inputs=[
|
125 |
# gr.components.Textbox(lines=2, label="Instruction", value="Tell me about ravens."),
|
126 |
gr.Audio(source="microphone", label = "请开始对话吧!", type="filepath"),
|
127 |
+
gr.Audio(source="upload", label = "请上传您喜欢的声音(wav文件)", type="filepath"),
|
128 |
gr.components.Textbox(lines=2, label="Input", placeholder="none"),
|
129 |
gr.components.Slider(minimum=10, maximum=200, step=10, value=150), # token_count
|
130 |
gr.components.Slider(minimum=0.2, maximum=2.0, step=0.1, value=1.0), # temperature
|