RamAnanth1 commited on
Commit
cd717c0
1 Parent(s): c12185f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -21,11 +21,11 @@ def dataset(url, name, token):
21
  ds.generate_dataset(url, download_path, overwrite, params)
22
  ds.upload(token)
23
 
24
- return "Playlist Name: " + name + "!!"
25
 
26
  yt_input = gr.Textbox(label = 'Youtube Link')
27
- name_input = gr.Textbox(label = 'Dataset Name')
28
- token_input = gr.Textbox(placeholder="Write access token")
29
 
30
  repo_output = gr.Textbox(label = "Outcome")
31
 
 
21
  ds.generate_dataset(url, download_path, overwrite, params)
22
  ds.upload(token)
23
 
24
+ return "Dataset created at : " + "https://huggingface.co/datasets/"+ name
25
 
26
  yt_input = gr.Textbox(label = 'Youtube Link')
27
+ name_input = gr.Textbox(label = 'Dataset Name',placeholder = "Enter in the format username/repo_name")
28
+ token_input = gr.Textbox(label = "HF Token", placeholder="Write access token")
29
 
30
  repo_output = gr.Textbox(label = "Outcome")
31