Spaces:
Running
Running
Merge branch 'spaces'
Browse files
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)
|