SteveDigital commited on
Commit
98e3642
1 Parent(s): 7c12160

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.info("Size of audio file: %s", a.len())
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", len(a))
27
  result = model.transcribe(a)
28
  return result['text'].strip()
29
  #else: