Spaces:
Runtime error
Runtime error
Commit
·
e14969e
1
Parent(s):
006ac29
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,10 @@ def dataset(url, name):
|
|
| 17 |
downloader = YoutubeDownloader(download_path)
|
| 18 |
downloader.download(url, whisperPP)
|
| 19 |
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
yt_input = gr.Textbox(label = 'Youtube Link')
|
| 23 |
name_input = gr.Textbox(label = 'Dataset Name')
|
|
|
|
| 17 |
downloader = YoutubeDownloader(download_path)
|
| 18 |
downloader.download(url, whisperPP)
|
| 19 |
|
| 20 |
+
overwrite = True
|
| 21 |
+
ds.generate_dataset(url, download_path, overwrite, params)
|
| 22 |
+
|
| 23 |
+
return "Playlist Name: " + whisperPP.repoId + "!!"
|
| 24 |
|
| 25 |
yt_input = gr.Textbox(label = 'Youtube Link')
|
| 26 |
name_input = gr.Textbox(label = 'Dataset Name')
|