Spaces:
Runtime error
Runtime error
Seyed Morteza Hosseini
commited on
Commit
•
e65097a
1
Parent(s):
6cf64d6
debug
Browse files- app.py +1 -0
- requirements.txt +1 -1
app.py
CHANGED
@@ -32,6 +32,7 @@ def translate(audio):
|
|
32 |
|
33 |
|
34 |
def synthesise(text):
|
|
|
35 |
if len(text.strip()) == 0:
|
36 |
return (16000, np.zeros(0).astype(np.int16))
|
37 |
|
|
|
32 |
|
33 |
|
34 |
def synthesise(text):
|
35 |
+
print("HERE:", text)
|
36 |
if len(text.strip()) == 0:
|
37 |
return (16000, np.zeros(0).astype(np.int16))
|
38 |
|
requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
torch
|
2 |
-
git+https://github.com/
|
3 |
datasets
|
4 |
sentencepiece
|
|
|
1 |
torch
|
2 |
+
git+https://github.com/huggingface/transformers
|
3 |
datasets
|
4 |
sentencepiece
|