DebasishDhal99 commited on
Commit
655bd0a
1 Parent(s): d80da81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -19,7 +19,7 @@ calculation_type_input = gr.inputs.Radio(["Total Duration", "Average Duration"],
19
  outputs = gr.outputs.Textbox(label="Result")
20
 
21
  heading = "YouTube Playlist Duration Calculator"
22
- description = '''Enter a YouTube playlist link and choose the calculation type to calculate its total duration or average duration.\n
23
  Do not enter the link of a video that belongs to that playlist.\n
24
  Use the link in the share option of the playlist's page
25
  '''
@@ -31,10 +31,10 @@ duration_interface = gr.Interface(
31
  outputs=outputs,
32
  title=heading,
33
  description=description,
34
- # examples=[
35
- # ["https://www.youtube.com/playlist?list=PL-osiE80TeTsWmV9i9c58mdDCSskIFdDS", "Total Duration"],
36
- # ["https://www.youtube.com/playlist?list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p", "Average Duration"],
37
- # ],
38
  theme="compact",
39
  )
40
 
 
19
  outputs = gr.outputs.Textbox(label="Result")
20
 
21
  heading = "YouTube Playlist Duration Calculator"
22
+ description = '''Enter a YouTube playlist link to calculate its total duration or average duration.\n
23
  Do not enter the link of a video that belongs to that playlist.\n
24
  Use the link in the share option of the playlist's page
25
  '''
 
31
  outputs=outputs,
32
  title=heading,
33
  description=description,
34
+ examples=[
35
+ ["https://www.youtube.com/playlist?list=PL-osiE80TeTsWmV9i9c58mdDCSskIFdDS", "Total Duration"],
36
+ ["https://www.youtube.com/playlist?list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p", "Average Duration"],
37
+ ],
38
  theme="compact",
39
  )
40