catiR
commited on
Commit
·
13fa91a
1
Parent(s):
28363d1
run clustering
Browse files
app.py
CHANGED
|
@@ -32,7 +32,8 @@ setup()
|
|
| 32 |
|
| 33 |
|
| 34 |
def f1(voices, sent, indices):
|
| 35 |
-
tts_audio, tts_score, graph = scripts.runSQ.run(sent, voices, indices)
|
|
|
|
| 36 |
score_report = f'Difference from TTS to real speech: {round(tts_score,2)}'
|
| 37 |
return (tts_audio, score_report, graph)
|
| 38 |
|
|
|
|
| 32 |
|
| 33 |
|
| 34 |
def f1(voices, sent, indices):
|
| 35 |
+
#tts_audio, tts_score, graph = scripts.runSQ.run(sent, voices, indices)
|
| 36 |
+
tts_audio, tts_score, graph = scripts.runSQ.run(sent, [voices], indices)
|
| 37 |
score_report = f'Difference from TTS to real speech: {round(tts_score,2)}'
|
| 38 |
return (tts_audio, score_report, graph)
|
| 39 |
|