SteveDigital
commited on
Commit
•
7c12160
1
Parent(s):
e510a68
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def get_text(url):
|
|
23 |
os.rename(out_file, new_file)
|
24 |
a = new_file
|
25 |
|
26 |
-
logging.
|
27 |
result = model.transcribe(a)
|
28 |
return result['text'].strip()
|
29 |
#else:
|
|
|
23 |
os.rename(out_file, new_file)
|
24 |
a = new_file
|
25 |
|
26 |
+
logging.info("Size of audio file: %s", a.len())
|
27 |
result = model.transcribe(a)
|
28 |
return result['text'].strip()
|
29 |
#else:
|