Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -90,8 +90,9 @@ def split_file(file_path):
|
|
90 |
def process(file_path):
|
91 |
if librosa.get_duration(filename=file_path) <= 5:
|
92 |
sentence = tran_script(file_path)
|
93 |
-
|
94 |
-
|
|
|
95 |
counter = split_file(file_path)
|
96 |
sentence = tran_script(counter)
|
97 |
result = ''
|
|
|
90 |
def process(file_path):
|
91 |
if librosa.get_duration(filename=file_path) <= 5:
|
92 |
sentence = tran_script(file_path)
|
93 |
+
return sentence
|
94 |
+
#sentence = str(sentence).replace(' ', '').strip("[]grt")
|
95 |
+
#return '[0.00-0.05] found : ' + check(sentence)
|
96 |
counter = split_file(file_path)
|
97 |
sentence = tran_script(counter)
|
98 |
result = ''
|