Spaces:
Build error
Build error
app.py
CHANGED
@@ -121,8 +121,13 @@ demo = gr.Blocks()
|
|
121 |
with demo:
|
122 |
gr.Markdown("<h1><center>Ask a Question to a YouTube Video and get the Video played from the answer timestamp</center></h1>")
|
123 |
gr.Markdown(
|
124 |
-
"
|
125 |
-
|
|
|
|
|
|
|
|
|
|
|
126 |
)
|
127 |
with gr.Row():
|
128 |
input_url = gr.Textbox(label="Input a Youtube video link") #gr.HTML(placeholder="Enter a video link here..")
|
|
|
121 |
with demo:
|
122 |
gr.Markdown("<h1><center>Ask a Question to a YouTube Video and get the Video played from the answer timestamp</center></h1>")
|
123 |
gr.Markdown(
|
124 |
+
"""### How many times have you seen a long video/podcast on Youtube and wondered only if there would have been 'explanatory' timestamps it would have been so much better..
|
125 |
+
**How to use this space:** You can either provide a new YouTube video link or can use the sample video link provided. Then provide a Questions that you would like about exploring the content in the given video.
|
126 |
+
<br>The App will generate timestamps and Play the video at those timestamps for you in the space provided. You will see two video displays, corresponding to two of the best guesses by the underlying models. Chances are that both videos might start with same timestamp, which will depend on the question and the content in the video, please bear!
|
127 |
+
<br>**Motivation behind building this App:** When we see a long video without timestamps, we often wonder 'if' the content we are looking for is in there, or 'where' in the video is the content we are looking for? The Idea is that we might have questions like 'Is the xxxx thing covered in this video?', or maybe 'does the host talks about the architecture of the xxxxx model', or maybe 'Does host talk about alien doorway on Mars?' and so on.
|
128 |
+
<br>So this App could help you in reaching to that timestamp in 'Record time'! Have fun!
|
129 |
+
<br>**Best part:** You don't even have to move away from the Space tab in your browser as the YouTube video gets played within the View
|
130 |
+
<br>Also, a small caveat, the App will perform as good as the English Transcripts are for the given YouTube Video. If there are no transcripts, the App will not work.<br><br>"""
|
131 |
)
|
132 |
with gr.Row():
|
133 |
input_url = gr.Textbox(label="Input a Youtube video link") #gr.HTML(placeholder="Enter a video link here..")
|