baas-cambai commited on
Commit
d6146a6
·
1 Parent(s): 9cd9556

small update

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -34,7 +34,7 @@ def inference(reference_audio, text, reference_text, ras_K, ras_t_r, top_p, qual
34
  dlc = 'per-chunk'
35
 
36
  data = {
37
- "text": text, #"la volpe marrone salta velocemente sopra il cane pigro.",
38
  "reference_audio": encoded_str, # reference audio, b64 encoded. Should be <=15s.
39
  "reference_text": reference_text if reference_text is not None and len(reference_text) > 0 else None,
40
  "language": 'en-us',
@@ -80,7 +80,7 @@ with gr.Blocks() as demo:
80
  quality_prefix = gr.Textbox('48000', label="quality_prefix", info="quality prefix string to append to generation", lines=1)
81
  with gr.Row():
82
  gr.Markdown("Cloning method to use. Deep clone and shallow clone use the method described in the paper, " +
83
- "while follow-on deep clone uses deep cloning, but always using the previous generated segment as the deep clone conditioning. " +
84
  "This only makes a difference for long text inputs where the text is internally chunked up and generated in chunks.")
85
  clone_method = gr.Radio(choices=['deep-clone', 'shallow-clone', 'follow-on deep-clone'], value='follow-on deep-clone', label="cloning method", info="cloning method to use")
86
 
 
34
  dlc = 'per-chunk'
35
 
36
  data = {
37
+ "text": text,
38
  "reference_audio": encoded_str, # reference audio, b64 encoded. Should be <=15s.
39
  "reference_text": reference_text if reference_text is not None and len(reference_text) > 0 else None,
40
  "language": 'en-us',
 
80
  quality_prefix = gr.Textbox('48000', label="quality_prefix", info="quality prefix string to append to generation", lines=1)
81
  with gr.Row():
82
  gr.Markdown("Cloning method to use. Deep clone and shallow clone use the method described in the paper, " +
83
+ "while `follow-on deep clone` uses deep cloning, but always using the previous generated segment as the deep clone conditioning. " +
84
  "This only makes a difference for long text inputs where the text is internally chunked up and generated in chunks.")
85
  clone_method = gr.Radio(choices=['deep-clone', 'shallow-clone', 'follow-on deep-clone'], value='follow-on deep-clone', label="cloning method", info="cloning method to use")
86