Spaces:
Runtime error
Runtime error
details added
Browse files
app.py
CHANGED
@@ -14,14 +14,15 @@ def timestamp(url, q_thresh):
|
|
14 |
output += "\n\nCreated using youtube-timestamper - https://ilangurudev.github.io/youtube-timestamper/"
|
15 |
return output.strip()
|
16 |
|
17 |
-
|
18 |
description = "Create timestamps for youtube interview videos using NLP."
|
|
|
19 |
|
20 |
iface = gr.Interface(fn=timestamp,
|
21 |
inputs=["text", gr.inputs.Slider(0, 50, 1, 15)],
|
22 |
outputs="text",
|
|
|
23 |
description=description,
|
24 |
article=article,
|
25 |
-
enable_queue=True,
|
26 |
examples=[["https://www.youtube.com/watch?v=QGCvycOXs2M", 20], ["https://www.youtube.com/watch?v=RvwynqDUoQE", 20]],)
|
27 |
iface.launch()
|
|
|
14 |
output += "\n\nCreated using youtube-timestamper - https://ilangurudev.github.io/youtube-timestamper/"
|
15 |
return output.strip()
|
16 |
|
17 |
+
title = "Youtube Timestamper"
|
18 |
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,
|
|
|
27 |
examples=[["https://www.youtube.com/watch?v=QGCvycOXs2M", 20], ["https://www.youtube.com/watch?v=RvwynqDUoQE", 20]],)
|
28 |
iface.launch()
|