Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
mrfakename
commited on
Commit
•
0aad398
1
Parent(s):
0408d22
Update app.py
Browse files
app.py
CHANGED
@@ -574,11 +574,11 @@ def synthandreturn(text):
|
|
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 (
|
|
|
574 |
thread2.join()
|
575 |
#debug
|
576 |
print(results)
|
577 |
+
print(list(results.keys())[0])
|
578 |
+
y, sr = librosa.load(results[list(results.keys())[0]], sr=None)
|
579 |
print(sr)
|
580 |
+
print(list(results.keys())[1])
|
581 |
+
y, sr = librosa.load(results[list(results.keys())[1]], sr=None)
|
582 |
print(sr)
|
583 |
#debug
|
584 |
return (
|