Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
mrfakename
commited on
Commit
•
0408d22
1
Parent(s):
8cc7e1a
Update app.py
Browse files
app.py
CHANGED
@@ -572,7 +572,15 @@ def synthandreturn(text):
|
|
572 |
thread2.start()
|
573 |
thread1.join()
|
574 |
thread2.join()
|
|
|
575 |
print(results)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
576 |
return (
|
577 |
text,
|
578 |
"Synthesize",
|
|
|
572 |
thread2.start()
|
573 |
thread1.join()
|
574 |
thread2.join()
|
575 |
+
#debug
|
576 |
print(results)
|
577 |
+
print(results.keys()[0])
|
578 |
+
y, sr = librosa.load(results[results.keys()[0]], sr=None)
|
579 |
+
print(sr)
|
580 |
+
print(results.keys()[1])
|
581 |
+
y, sr = librosa.load(results[results.keys()[1]], sr=None)
|
582 |
+
print(sr)
|
583 |
+
#debug
|
584 |
return (
|
585 |
text,
|
586 |
"Synthesize",
|