Spaces:
Runtime error
Runtime error
better var names
Browse files
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=["
|
23 |
-
outputs="
|
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,
|