Spaces:
Sleeping
Sleeping
upload
Browse files- __pycache__/model.cpython-39.pyc +0 -0
- __pycache__/utils.cpython-39.pyc +0 -0
- app.py +13 -6
__pycache__/model.cpython-39.pyc
ADDED
Binary file (4.73 kB). View file
|
|
__pycache__/utils.cpython-39.pyc
CHANGED
Binary files a/__pycache__/utils.cpython-39.pyc and b/__pycache__/utils.cpython-39.pyc differ
|
|
app.py
CHANGED
@@ -21,15 +21,22 @@ with demo:
|
|
21 |
<h1 style='text-align: center'>Video Summarization</h1>
|
22 |
</div>
|
23 |
''')
|
24 |
-
# with gr.Column():z
|
25 |
with gr.Row():
|
26 |
gr.Markdown('''
|
27 |
### Summarize video
|
28 |
-
|
29 |
-
|
30 |
-
|
|
|
|
|
31 |
A summarized video will be generated on the right side of the original video. In addition, the summarized text of the video and in the video
|
32 |
''')
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
with gr.Row():
|
34 |
gr.Markdown('''
|
35 |
### You can test by following examples:
|
@@ -58,5 +65,5 @@ with demo:
|
|
58 |
with gr.Row():
|
59 |
transcription_text.render()
|
60 |
|
61 |
-
demo.launch(debug=True)
|
62 |
-
|
|
|
21 |
<h1 style='text-align: center'>Video Summarization</h1>
|
22 |
</div>
|
23 |
''')
|
|
|
24 |
with gr.Row():
|
25 |
gr.Markdown('''
|
26 |
### Summarize video
|
27 |
+
<ul>
|
28 |
+
<li>Step 1. download a video from youtube (select one of the examples and press the Download button)</li>
|
29 |
+
<li>Step 2: Select the summary rate and playback speed</li>
|
30 |
+
<li>Step 3: Generate a summarized video (press the Summarize button)</li>
|
31 |
+
</ul>
|
32 |
A summarized video will be generated on the right side of the original video. In addition, the summarized text of the video and in the video
|
33 |
''')
|
34 |
+
with gr.Row():
|
35 |
+
gr.Markdown('''
|
36 |
+
### User ID
|
37 |
+
#### Fill in the user ID if the author of this system has instructed you to do so.
|
38 |
+
''')
|
39 |
+
user_id = gr.Textbox(placeholder="Flip your user ID")
|
40 |
with gr.Row():
|
41 |
gr.Markdown('''
|
42 |
### You can test by following examples:
|
|
|
65 |
with gr.Row():
|
66 |
transcription_text.render()
|
67 |
|
68 |
+
# demo.launch(debug=True)
|
69 |
+
demo.launch(debug=True)
|