nam_nguyenhoai_AI commited on
Commit
987b643
1 Parent(s): 01ed220

Update application file

Browse files
Files changed (1) hide show
  1. app.py +8 -5
app.py CHANGED
@@ -15,19 +15,22 @@ css = """
15
  """
16
 
17
 
18
- title = "# Depth Anything Video Demo"
19
- description = """Depth Anything on full video files."""
 
 
 
20
 
21
  with gr.Blocks(css=css) as demo:
22
  gr.Markdown(title)
23
  gr.Markdown(description)
24
- gr.Markdown("### Video Depth Prediction demo")
25
 
26
  with gr.Row():
27
  input_video = gr.Video(label="Input Video")
28
- model_type = gr.Dropdown(["vits", "vitb", "vitl"], type="value", label='Model Type')
29
  submit = gr.Button("Submit")
30
- processed_video = gr.Video(label="Processed Video")
31
 
32
  def on_submit(uploaded_video,model_type):
33
 
 
15
  """
16
 
17
 
18
+ title = "# Video Summarization Demo"
19
+ description = """Video Summarization using Timesformer.
20
+
21
+ Author: Nguyen Hoai Nam.
22
+ """
23
 
24
  with gr.Blocks(css=css) as demo:
25
  gr.Markdown(title)
26
  gr.Markdown(description)
27
+ gr.Markdown("### Video Summarization demo")
28
 
29
  with gr.Row():
30
  input_video = gr.Video(label="Input Video")
31
+ model_type = gr.Dropdown(["K-means", "Sum of Squared Difference 01", "Sum of Squared Difference 02"], type="value", label='Model Type')
32
  submit = gr.Button("Submit")
33
+ processed_video = gr.Video(label="Summarized Video")
34
 
35
  def on_submit(uploaded_video,model_type):
36