ekwek commited on
Commit
7a56e38
·
verified ·
1 Parent(s): f0ac9ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -30,7 +30,7 @@ def tts_stream(text, temperature, top_p, repetition_penalty, state):
30
  chunks = []
31
  stream = model.infer_stream(
32
  text,
33
- chunk_size=5,
34
  temperature=temperature,
35
  top_p=top_p,
36
  repetition_penalty=repetition_penalty,
@@ -92,7 +92,7 @@ with gr.Blocks() as demo:
92
  download_btn = gr.Button("Download")
93
  file_out = gr.File(label="Download file")
94
  gr.Markdown(
95
- "Usage tips: (placeholder)\n\n"
96
  "- Soprano works best when each sentence is between 2 and 15 seconds long.\n"
97
  "- Although Soprano recognizes numbers and some special characters, it occasionally mispronounces them. Best results can be achieved by converting these into their phonetic form. (1+1 -> one plus one, etc)\n"
98
  "- If Soprano produces unsatisfactory results, you can easily regenerate it for a new, potentially better generation. You may also change the sampling settings for more varied results."
 
30
  chunks = []
31
  stream = model.infer_stream(
32
  text,
33
+ chunk_size=10,
34
  temperature=temperature,
35
  top_p=top_p,
36
  repetition_penalty=repetition_penalty,
 
92
  download_btn = gr.Button("Download")
93
  file_out = gr.File(label="Download file")
94
  gr.Markdown(
95
+ "Usage tips:\n\n"
96
  "- Soprano works best when each sentence is between 2 and 15 seconds long.\n"
97
  "- Although Soprano recognizes numbers and some special characters, it occasionally mispronounces them. Best results can be achieved by converting these into their phonetic form. (1+1 -> one plus one, etc)\n"
98
  "- If Soprano produces unsatisfactory results, you can easily regenerate it for a new, potentially better generation. You may also change the sampling settings for more varied results."