Spaces:
Build error
Build error
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def display_vid(
|
4 |
-
return
|
5 |
demo = gr.Blocks()
|
6 |
|
7 |
with demo:
|
@@ -11,9 +11,9 @@ with demo:
|
|
11 |
"<div>Well, using this Space/App you can provide a YouTube video link and then provide some questions that you would like, and the App will generate timestamps/play video at those timestamps for you in the space provided. Idea is that your question could be like 'Is this xxxx thing covered in the video?', or maybe 'does the host talks about the architecture of the model', or maybe 'Does host talk about alien doorway on Mars?' and so on.</div><br> <br> <div> This App is Work in Progress, please bare with me.</div>"
|
12 |
)
|
13 |
with gr.Row():
|
14 |
-
input_vid = gr.HTML(placeholder="Enter a video link here..")
|
15 |
#poem_txt = gr.Textbox(lines=7)
|
16 |
-
output_vid = gr.
|
17 |
|
18 |
b1 = gr.Button("Publish Video")
|
19 |
#b2 = gr.Button("Generate Image")
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
def display_vid(video):
|
4 |
+
return video
|
5 |
demo = gr.Blocks()
|
6 |
|
7 |
with demo:
|
|
|
11 |
"<div>Well, using this Space/App you can provide a YouTube video link and then provide some questions that you would like, and the App will generate timestamps/play video at those timestamps for you in the space provided. Idea is that your question could be like 'Is this xxxx thing covered in the video?', or maybe 'does the host talks about the architecture of the model', or maybe 'Does host talk about alien doorway on Mars?' and so on.</div><br> <br> <div> This App is Work in Progress, please bare with me.</div>"
|
12 |
)
|
13 |
with gr.Row():
|
14 |
+
input_vid = gr.Video() #gr.HTML(placeholder="Enter a video link here..")
|
15 |
#poem_txt = gr.Textbox(lines=7)
|
16 |
+
output_vid = gr.Video()
|
17 |
|
18 |
b1 = gr.Button("Publish Video")
|
19 |
#b2 = gr.Button("Generate Image")
|