mbarnig commited on
Commit
5b338ae
·
verified ·
1 Parent(s): 2f65f79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def load_set(set_file):
40
  with open(set_file,'r') as file:
41
  set_json=json.loads(file.read())
42
  file.close()
43
- return(gr.update(value=set_json['model']),gr.update(value=set_json['length']),
44
  gr.update(value=set_json['noise']),gr.update(value=set_json['width']),
45
  gr.update(value=set_json['pause']))
46
  txt="""PiperTTS is a powerful text-to-speech TTS node designed to convert written text into high-quality spoken audio. This node leverages advanced voice synthesis models to generate natural-sounding speech, making it an invaluable tool for AI developers looking to add a vocal element to their projects."""
 
40
  with open(set_file,'r') as file:
41
  set_json=json.loads(file.read())
42
  file.close()
43
+ return(gr.update(value=set_json['model']),gr.update(value=set_json['length']),
44
  gr.update(value=set_json['noise']),gr.update(value=set_json['width']),
45
  gr.update(value=set_json['pause']))
46
  txt="""PiperTTS is a powerful text-to-speech TTS node designed to convert written text into high-quality spoken audio. This node leverages advanced voice synthesis models to generate natural-sounding speech, making it an invaluable tool for AI developers looking to add a vocal element to their projects."""