Gurudev commited on
Commit
a41721f
1 Parent(s): 72b2a9a

better var names

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,8 +19,8 @@ description = "Create timestamps for youtube interview videos using NLP."
19
  article = "For more details visit https://ilangurudev.github.io/youtube-timestamper/ "
20
 
21
  iface = gr.Interface(fn=timestamp,
22
- inputs=["text", gr.inputs.Slider(0, 50, 1, 15)],
23
- outputs="text",
24
  title=title,
25
  description=description,
26
  article=article,
 
19
  article = "For more details visit https://ilangurudev.github.io/youtube-timestamper/ "
20
 
21
  iface = gr.Interface(fn=timestamp,
22
+ inputs=[gr.inputs.Textbox(label="YouTube video url"), gr.inputs.Slider(0, 50, 1, 15, label="Maximum number of words between consecutive questions")],
23
+ outputs=gr.inputs.Textbox(label="Timestamps", lines=20),
24
  title=title,
25
  description=description,
26
  article=article,