Spaces:
Running
Running
poemsforaphrodite
commited on
Commit
•
95831e8
1
Parent(s):
afe9936
Upload openvoice_app.py with huggingface_hub
Browse files- openvoice_app.py +3 -4
openvoice_app.py
CHANGED
@@ -11,10 +11,9 @@ parser = argparse.ArgumentParser()
|
|
11 |
parser.add_argument("--share", action='store_true', default=False, help="make link public")
|
12 |
args = parser.parse_args()
|
13 |
|
14 |
-
en_ckpt_base = '
|
15 |
-
zh_ckpt_base = '
|
16 |
-
ckpt_converter = '
|
17 |
-
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
18 |
output_dir = 'outputs'
|
19 |
os.makedirs(output_dir, exist_ok=True)
|
20 |
|
|
|
11 |
parser.add_argument("--share", action='store_true', default=False, help="make link public")
|
12 |
args = parser.parse_args()
|
13 |
|
14 |
+
en_ckpt_base = 'base_speakers/EN'
|
15 |
+
zh_ckpt_base = 'base_speakers/ZH'
|
16 |
+
ckpt_converter = 'converter'
|
|
|
17 |
output_dir = 'outputs'
|
18 |
os.makedirs(output_dir, exist_ok=True)
|
19 |
|