multimodalart HF Staff commited on
Commit
0db1e4f
Β·
verified Β·
1 Parent(s): ed4c899

Use more reliable semantic-edit examples

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -447,7 +447,7 @@ with gr.Blocks(title="FireRedTTS3") as demo:
447
  )
448
  sem_instruction = gr.Textbox(
449
  label="Edit instruction",
450
- placeholder="e.g. Replace 'negative' with 'anxious'.",
451
  lines=2,
452
  )
453
  sem_btn = gr.Button("Apply edit", variant="primary")
@@ -467,8 +467,8 @@ with gr.Blocks(title="FireRedTTS3") as demo:
467
  )
468
  gr.Examples(
469
  examples=[
470
- [EN_PROMPT, "Replace 'negative' with 'anxious'."],
471
- [EN_PROMPT, "Delete the words 'a few minutes a day'."],
472
  [ZH_PROMPT, "ζŠŠβ€œζœ€ε€§ηš„β€ζ›Ώζ’ζˆβ€œζœ€ζœ‰ζ„ζ€ηš„β€γ€‚"],
473
  ],
474
  inputs=[sem_audio, sem_instruction],
 
447
  )
448
  sem_instruction = gr.Textbox(
449
  label="Edit instruction",
450
+ placeholder="e.g. Replace 'positive' with 'optimistic'.",
451
  lines=2,
452
  )
453
  sem_btn = gr.Button("Apply edit", variant="primary")
 
467
  )
468
  gr.Examples(
469
  examples=[
470
+ [EN_PROMPT, "Replace 'positive' with 'optimistic'."],
471
+ [EN_PROMPT, "Delete the word 'negative'."],
472
  [ZH_PROMPT, "ζŠŠβ€œζœ€ε€§ηš„β€ζ›Ώζ’ζˆβ€œζœ€ζœ‰ζ„ζ€ηš„β€γ€‚"],
473
  ],
474
  inputs=[sem_audio, sem_instruction],