Pendrokar commited on
Commit
fd6f74c
2 Parent(s): d6b63e9 a2c6338

Merge branch 'spaces'

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -608,7 +608,7 @@ def synthandreturn(text):
608
  # Get two random models
609
  # your TTS model versus The World!!!
610
  mdl1 = 'Pendrokar/xVASynth'
611
- mdl2 = random.sample(list(AVAILABLE_MODELS.keys()), 1)
612
  mdl1, mdl2 = random.sample(list([mdl1, mdl2[0]]), 2)
613
  # mdl1, mdl2 = random.sample(list(AVAILABLE_MODELS.keys()), 2)
614
  log_text(text)
 
608
  # Get two random models
609
  # your TTS model versus The World!!!
610
  mdl1 = 'Pendrokar/xVASynth'
611
+ mdl2 = random.sample(list(AVAILABLE_MODELS.keys().remove(mdl1)), 1)
612
  mdl1, mdl2 = random.sample(list([mdl1, mdl2[0]]), 2)
613
  # mdl1, mdl2 = random.sample(list(AVAILABLE_MODELS.keys()), 2)
614
  log_text(text)