Tony111222333 commited on
Commit
c741089
1 Parent(s): 0c0ae4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ vocos_22050 = Vocos.from_pretrained(VOCODER22_MODEL_PATH).to(device)
71
  @torch.inference_mode()
72
  def synthesise(text, ipa, prompt_selection, audio_prompt, temperature, speed):
73
  print(text, prompt_selection, temperature, speed)
74
- if len(text) > 1000:
75
  raise gr.Error("Текст повинен бути коротшим за 1000 символів.")
76
 
77
  if audio_prompt:
 
71
  @torch.inference_mode()
72
  def synthesise(text, ipa, prompt_selection, audio_prompt, temperature, speed):
73
  print(text, prompt_selection, temperature, speed)
74
+ if len(text) > 100000:
75
  raise gr.Error("Текст повинен бути коротшим за 1000 символів.")
76
 
77
  if audio_prompt: