RaviRaj988 commited on
Commit
9e61276
1 Parent(s): 87074fa

Updated comments and headdings

Browse files
Files changed (1) hide show
  1. app.py +2 -12
app.py CHANGED
@@ -118,20 +118,10 @@ def set_example_question(sample_question):
118
  demo = gr.Blocks()
119
 
120
  with demo:
121
- gr.Markdown("<h1><center>Ask a Question to a YouTube Video and get the Video played from the answer timestamp</center></h1>")
122
  gr.Markdown(
123
  """### 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..
124
- **A Space by [Yuvraj Sharma](https://huggingface.co/ysharma). 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.
125
- 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!
126
- Also, couple small caveats -
127
- - The App will perform as good as the available English Transcripts are for the given YouTube Video. If there are no transcripts, the App will not work.
128
- - Please make sure the YouTube video links that you paste here don't have the trailing values like *&t=8077s*
129
- - Lastly, once you have queried a video, you might have to refresh the page for next query (will try and fix this)
130
-
131
- **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.
132
-
133
- **So this App could help you in reaching to that timestamp in 'Record time'!**
134
-
135
  **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 given View.
136
  """
137
  )
 
118
  demo = gr.Blocks()
119
 
120
  with demo:
121
+ gr.Markdown("<h1><center>Have you ever watched a lengthy video or podcast on YouTube and thought it would have been so much better if there had been "explanatory" timestamps?</center></h1>")
122
  gr.Markdown(
123
  """### 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..
124
+
 
 
 
 
 
 
 
 
 
 
125
  **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 given View.
126
  """
127
  )