hexgrad commited on
Commit
7562a6f
·
verified ·
1 Parent(s): 33faceb

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -128,8 +128,7 @@ CHOICES = {
128
  VOICES = {k: torch.load(os.path.join(snapshot, 'voices', f'{k}.pt'), weights_only=True).to(device) for k in CHOICES.values()}
129
  def get_random_en_voice():
130
  # Top 2 most stable voices in each category of (US/GB) and (F/M)
131
- # excluding Adam, because he is too recognizable
132
- return random.choice(['af_0', 'af_bella', 'am_michael', 'bf_0', 'bf_2', 'bm_0', 'bm_1'])
133
 
134
  np_log_99 = np.log(99)
135
  def s_curve(p):
 
128
  VOICES = {k: torch.load(os.path.join(snapshot, 'voices', f'{k}.pt'), weights_only=True).to(device) for k in CHOICES.values()}
129
  def get_random_en_voice():
130
  # Top 2 most stable voices in each category of (US/GB) and (F/M)
131
+ return random.choice(['af_0', 'af_bella', 'am_michael', 'am_adam', 'bf_0', 'bf_2', 'bm_0', 'bm_1'])
 
132
 
133
  np_log_99 = np.log(99)
134
  def s_curve(p):