Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def new_load_mod(instr="en_US-joe-medium"):
|
|
47 |
with open(f'{os.getcwd()}/voices/{file}.json','wb') as j:
|
48 |
j.write(json_file.content)
|
49 |
j.close()
|
50 |
-
json_ob=f'{os.getcwd()}/voices/{file}.json'
|
51 |
print("Model Loaded")
|
52 |
|
53 |
def load_mod(instr="lb_LU-marylux-medium"):
|
|
|
47 |
with open(f'{os.getcwd()}/voices/{file}.json','wb') as j:
|
48 |
j.write(json_file.content)
|
49 |
j.close()
|
50 |
+
pp.json_ob=f'{os.getcwd()}/voices/{file}.json'
|
51 |
print("Model Loaded")
|
52 |
|
53 |
def load_mod(instr="lb_LU-marylux-medium"):
|