rafat0421 commited on
Commit
d1a43a0
1 Parent(s): c8f19e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ from moviepy.editor import AudioFileClip
7
  import googletrans
8
  from googletrans import Translator
9
 
10
- pipe = pipeline(model="Rafat0421/whisper-small-hi")
11
 
12
  def download_from_youtube(url):
13
  streams = YouTube(url).streams.filter(only_audio=True, file_extension='mp4') #Downloads the video from the given YouTube URL and returns the path to the audio file.
 
7
  import googletrans
8
  from googletrans import Translator
9
 
10
+ pipe = pipeline(model="rafat0421/whisper-small-hi")
11
 
12
  def download_from_youtube(url):
13
  streams = YouTube(url).streams.filter(only_audio=True, file_extension='mp4') #Downloads the video from the given YouTube URL and returns the path to the audio file.