irena commited on
Commit
5569679
·
1 Parent(s): 11a9dc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def main_generator(youtube_id:str):
16
 
17
  os.system(f"youtube-dl -o {OutputFile} {YouTubeID} --extract-audio --restrict-filenames -f 'bestaudio[ext=m4a]'")
18
 
19
- result = model_whisper.transcribe(OutputFile)
20
  text = result['text']
21
 
22
  output_list = []
 
16
 
17
  os.system(f"youtube-dl -o {OutputFile} {YouTubeID} --extract-audio --restrict-filenames -f 'bestaudio[ext=m4a]'")
18
 
19
+ result = pipe(OutputFile)
20
  text = result['text']
21
 
22
  output_list = []