sofzcc commited on
Commit
631c26a
·
verified ·
1 Parent(s): d02c0d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -32,6 +32,10 @@ import nltk
32
  from nltk.tokenize import word_tokenize
33
  import pytube
34
  from moviepy.editor import *
 
 
 
 
35
 
36
  # Download necessary resources
37
  nltk.download('punkt')
@@ -224,10 +228,6 @@ def generate_valid_filename(query):
224
  #################################################
225
  ## NEW FUNCTIONS ##
226
  #################################################
227
- import whisper
228
- import time
229
- from pytubefix import YouTube
230
- from pytubefix.cli import on_progress
231
 
232
 
233
  def download_video_mp3(url):
 
32
  from nltk.tokenize import word_tokenize
33
  import pytube
34
  from moviepy.editor import *
35
+ import whisper
36
+ import time
37
+ from pytubefix import YouTube
38
+ from pytubefix.cli import on_progress
39
 
40
  # Download necessary resources
41
  nltk.download('punkt')
 
228
  #################################################
229
  ## NEW FUNCTIONS ##
230
  #################################################
 
 
 
 
231
 
232
 
233
  def download_video_mp3(url):