Pendrokar commited on
Commit
f9e73d9
1 Parent(s): a2c6338

VS not self fix; short desc

Browse files
Files changed (2) hide show
  1. README.md +7 -0
  2. app.py +3 -1
README.md CHANGED
@@ -15,4 +15,11 @@ pinned: false
15
  # - HF_TOKEN
16
  # - DATASET_ID
17
  # hardware: cpu-basic
 
 
 
 
 
 
 
18
  ---
 
15
  # - HF_TOKEN
16
  # - DATASET_ID
17
  # hardware: cpu-basic
18
+ short_description: xVA vs The World
19
+ models:
20
+ - Pendrokar/xvapitch_nvidia
21
+ - coqui/XTTS-v2
22
+ - collabora/whisperspeech
23
+ - myshell-ai/OpenVoice
24
+ - metavoiceio/metavoice-1B-v0.1
25
  ---
app.py CHANGED
@@ -608,7 +608,9 @@ 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().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)
 
608
  # Get two random models
609
  # your TTS model versus The World!!!
610
  mdl1 = 'Pendrokar/xVASynth'
611
+ vsModels = dict(AVAILABLE_MODELS)
612
+ del vsModels[mdl1]
613
+ mdl2 = random.sample(list(vsModels.keys()), 1)
614
  mdl1, mdl2 = random.sample(list([mdl1, mdl2[0]]), 2)
615
  # mdl1, mdl2 = random.sample(list(AVAILABLE_MODELS.keys()), 2)
616
  log_text(text)