Spaces:
Running
on
Zero
Running
on
Zero
Update ui/components.py
Browse files- ui/components.py +2 -2
ui/components.py
CHANGED
@@ -68,9 +68,9 @@ def update_tags_from_preset(preset_name):
|
|
68 |
return GENRE_PRESETS.get(preset_name, "")
|
69 |
|
70 |
|
71 |
-
def create_output_ui(task_name="
|
72 |
# For many consumer-grade GPU devices, only one batch can be run
|
73 |
-
output_audio1 = gr.Audio(type="filepath", label=f"{task_name}
|
74 |
# output_audio2 = gr.Audio(type="filepath", label="Generated Audio 2")
|
75 |
with gr.Accordion(f"{task_name} 参数(凭据)", open=False):
|
76 |
input_params_json = gr.JSON(label=f"{task_name} 参数")
|
|
|
68 |
return GENRE_PRESETS.get(preset_name, "")
|
69 |
|
70 |
|
71 |
+
def create_output_ui(task_name="已生成的"):
|
72 |
# For many consumer-grade GPU devices, only one batch can be run
|
73 |
+
output_audio1 = gr.Audio(type="filepath", label=f"{task_name} 歌")
|
74 |
# output_audio2 = gr.Audio(type="filepath", label="Generated Audio 2")
|
75 |
with gr.Accordion(f"{task_name} 参数(凭据)", open=False):
|
76 |
input_params_json = gr.JSON(label=f"{task_name} 参数")
|