Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,6 @@ def resample(file_path):
|
|
42 |
|
43 |
|
44 |
def tran_script(file_path):
|
45 |
-
return type(file_path)
|
46 |
if type(file_path) == 'str':
|
47 |
speech = resample(file_path)
|
48 |
inputs = processor(speech, sampling_rate=16_000,
|
|
|
42 |
|
43 |
|
44 |
def tran_script(file_path):
|
|
|
45 |
if type(file_path) == 'str':
|
46 |
speech = resample(file_path)
|
47 |
inputs = processor(speech, sampling_rate=16_000,
|