Update app.py
Browse files
app.py
CHANGED
@@ -9,9 +9,9 @@ pp=PyPiper()
|
|
9 |
|
10 |
def init():
|
11 |
key_list=pp.key_list
|
12 |
-
return(gr.update(label="Voice",choices=key_list,value="
|
13 |
|
14 |
-
def load_mod(instr="
|
15 |
load_mes=gr.Info(f"""Loading Model...<br>{instr}""",duration=2)
|
16 |
pp.load_mod(instr=instr)
|
17 |
with open(pp.json_ob,'r') as f:
|
|
|
9 |
|
10 |
def init():
|
11 |
key_list=pp.key_list
|
12 |
+
return(gr.update(label="Voice",choices=key_list,value="lb_LU-marylux-medium",interactive=True))
|
13 |
|
14 |
+
def load_mod(instr="lb_LU-marylux-medium):
|
15 |
load_mes=gr.Info(f"""Loading Model...<br>{instr}""",duration=2)
|
16 |
pp.load_mod(instr=instr)
|
17 |
with open(pp.json_ob,'r') as f:
|