Spaces:
Running
on
Zero
Running
on
Zero
Upload app.py
Browse files
app.py
CHANGED
@@ -117,7 +117,6 @@ CHOICES = {
|
|
117 |
'🇬🇧 🚹 British Male 0': 'bm_0',
|
118 |
'🇬🇧 🚹 British Male 1': 'bm_1',
|
119 |
'🇬🇧 🚹 British Male 2': 'bm_2',
|
120 |
-
'🇬🇧 🚹 British Male 3': 'bm_3',
|
121 |
'🇯🇵 🚺 Japanese Female 0': 'jf_0',
|
122 |
}
|
123 |
VOICES = {k: torch.load(os.path.join(snapshot, 'voices', f'{k}.pt'), weights_only=True).to(device) for k in CHOICES.values()}
|
|
|
117 |
'🇬🇧 🚹 British Male 0': 'bm_0',
|
118 |
'🇬🇧 🚹 British Male 1': 'bm_1',
|
119 |
'🇬🇧 🚹 British Male 2': 'bm_2',
|
|
|
120 |
'🇯🇵 🚺 Japanese Female 0': 'jf_0',
|
121 |
}
|
122 |
VOICES = {k: torch.load(os.path.join(snapshot, 'voices', f'{k}.pt'), weights_only=True).to(device) for k in CHOICES.values()}
|