Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 =
|
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 = []
|