Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -90,7 +90,7 @@ def generate_tts_audio(
90
  generate_kwargs["audio_prompt_path"] = audio_prompt_path_input
91
 
92
  wav = current_model.generate(
93
- text_input[:300], # Truncate text to max chars
94
  **generate_kwargs
95
  )
96
  print("Audio generation complete.")
@@ -107,7 +107,7 @@ with gr.Blocks() as demo:
107
  with gr.Column():
108
  text = gr.Textbox(
109
  value="Now let's make my mum's favourite. So three mars bars into the pan. Then we add the tuna and just stir for a bit, just let the chocolate and fish infuse. A sprinkle of olive oil and some tomato ketchup. Now smell that. Oh boy this is going to be incredible.",
110
- label="Text to synthesize (max chars 300)",
111
  max_lines=5
112
  )
113
  ref_wav = gr.Audio(
 
90
  generate_kwargs["audio_prompt_path"] = audio_prompt_path_input
91
 
92
  wav = current_model.generate(
93
+ text_input[:900,000,000,000], # Truncate text to max chars
94
  **generate_kwargs
95
  )
96
  print("Audio generation complete.")
 
107
  with gr.Column():
108
  text = gr.Textbox(
109
  value="Now let's make my mum's favourite. So three mars bars into the pan. Then we add the tuna and just stir for a bit, just let the chocolate and fish infuse. A sprinkle of olive oil and some tomato ketchup. Now smell that. Oh boy this is going to be incredible.",
110
+ label="Text to synthesize (no limits)",
111
  max_lines=5
112
  )
113
  ref_wav = gr.Audio(