Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,10 @@ def init():
|
|
12 |
return(gr.update(label="Voice",choices=key_list,value="en_US-joe-medium",interactive=True))
|
13 |
|
14 |
def load_mod(instr="en_US-joe-medium"):
|
15 |
-
pp.load_mod(instr=instr)
|
16 |
-
|
|
|
|
|
17 |
|
18 |
|
19 |
def save_set(model,length,noise,width,sen_pause):
|
|
|
12 |
return(gr.update(label="Voice",choices=key_list,value="en_US-joe-medium",interactive=True))
|
13 |
|
14 |
def load_mod(instr="en_US-joe-medium"):
|
15 |
+
pp.load_mod(instr=instr)
|
16 |
+
with open(pp.json_ob,'r') as f:
|
17 |
+
json_ob=json.dumps(f.read(),indent=4)
|
18 |
+
return json_ob
|
19 |
|
20 |
|
21 |
def save_set(model,length,noise,width,sen_pause):
|