SteveDigital commited on
Commit
3f57b02
1 Parent(s): 1ed14cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def get_text(url):
22
  file_stats = os.stat(out_file)
23
  logging.info(f'Size of audio file in Bytes: {file_stats.st_size}')
24
 
25
- if file_stats.st_size <= 20000000
26
  base, ext = os.path.splitext(out_file)
27
  new_file = base+'.mp3'
28
  os.rename(out_file, new_file)
 
22
  file_stats = os.stat(out_file)
23
  logging.info(f'Size of audio file in Bytes: {file_stats.st_size}')
24
 
25
+ if file_stats.st_size <= 20000000:
26
  base, ext = os.path.splitext(out_file)
27
  new_file = base+'.mp3'
28
  os.rename(out_file, new_file)