Webui #1
+17
-18
@@ -806,24 +806,6 @@ with gr.Blocks(title="Audio-demo pipeline studio") as demo:
|
||||
save_char_btn = gr.Button("Save as new character (status: draft)")
|
||||
save_char_status = gr.Markdown()
|
||||
|
||||
with gr.Row():
|
||||
with gr.Column():
|
||||
gr.Markdown(
|
||||
"## 5. Sound effects (MOSS-SoundEffect)\n"
|
||||
"Text-only ambience/SFX generation - no reference audio or character "
|
||||
"voice involved, a separate model from the voice pipeline above."
|
||||
)
|
||||
sfx_description = gr.Textbox(
|
||||
label="Description",
|
||||
placeholder=(
|
||||
'e.g. "A door creaking open slowly, then closing with a soft thud." '
|
||||
'or "A busy outdoor market with distant chatter and footsteps."'
|
||||
),
|
||||
lines=2,
|
||||
)
|
||||
sfx_btn = gr.Button("Generate sound effect", variant="primary")
|
||||
sfx_audio = gr.Audio(label="Generated sound effect", type="filepath")
|
||||
|
||||
strip_btn.click(strip_vocals, inputs=[input_audio], outputs=[vocals_out, no_vocals_out])
|
||||
use_vocals_btn.click(
|
||||
use_as_reference, inputs=[vocals_out, history_state],
|
||||
@@ -862,6 +844,23 @@ with gr.Blocks(title="Audio-demo pipeline studio") as demo:
|
||||
inputs=[new_char_name, new_char_role, new_char_prose, gen_language, current_ref_audio, history_state],
|
||||
outputs=[save_char_status],
|
||||
)
|
||||
with gr.Tab("Sound Effects"):
|
||||
gr.Markdown(
|
||||
"# Sound effects (MOSS-SoundEffect)\n"
|
||||
"Text-only ambience/SFX generation - a separate model from the "
|
||||
"voice pipeline in Pipeline Studio, no reference audio or "
|
||||
"character voice involved."
|
||||
)
|
||||
sfx_description = gr.Textbox(
|
||||
label="Description",
|
||||
placeholder=(
|
||||
'e.g. "A door creaking open slowly, then closing with a soft thud." '
|
||||
'or "A busy outdoor market with distant chatter and footsteps."'
|
||||
),
|
||||
lines=2,
|
||||
)
|
||||
sfx_btn = gr.Button("Generate sound effect", variant="primary")
|
||||
sfx_audio = gr.Audio(label="Generated sound effect", type="filepath")
|
||||
sfx_btn.click(generate_sound_effect, inputs=[sfx_description], outputs=[sfx_audio])
|
||||
|
||||
with gr.Tab("Characters"):
|
||||
|
||||
Reference in new issue
Block a user