Update app.py
Browse files
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 |
-
|
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."""
|