Saqib commited on
Commit
2722f5e
1 Parent(s): 982000a

Update modules/app.py

Browse files
Files changed (1) hide show
  1. modules/app.py +1 -2
modules/app.py CHANGED
@@ -4,7 +4,6 @@ from pytubefix import YouTube
4
  from pytubefix.exceptions import PytubeFixError
5
  import time
6
  import uuid
7
- import logging
8
  import aiohttp
9
  import base64
10
  import io
@@ -67,7 +66,7 @@ async def get_audio(url: str):
67
  video.download(output_path=AUDIO_DIR, filename=unique_filename)
68
 
69
  file_stats = os.stat(out_file)
70
- logging.info(f'Size of audio file in Bytes: {file_stats.st_size}')
71
 
72
  if file_stats.st_size <= 30000000:
73
  # Construct the URL for the MP3 file
 
4
  from pytubefix.exceptions import PytubeFixError
5
  import time
6
  import uuid
 
7
  import aiohttp
8
  import base64
9
  import io
 
66
  video.download(output_path=AUDIO_DIR, filename=unique_filename)
67
 
68
  file_stats = os.stat(out_file)
69
+ print(f'Size of audio file in Bytes: {file_stats.st_size}')
70
 
71
  if file_stats.st_size <= 30000000:
72
  # Construct the URL for the MP3 file