qqwjq1981 commited on
Commit
d277e16
·
verified ·
1 Parent(s): ddb961b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -49,7 +49,9 @@ def build_interface():
49
  with gr.Blocks() as demo:
50
  gr.Markdown("## 🎬 Keyframe Candidate Viewer")
51
  page_state = gr.State(1)
52
- table = gr.Dataframe(headers=[], datatype=["str", "str", "image", "image", "image"], row_count=15)
 
 
53
  total_pages_text = gr.Textbox(label="Page Info", interactive=False)
54
 
55
  def update(page):
 
49
  with gr.Blocks() as demo:
50
  gr.Markdown("## 🎬 Keyframe Candidate Viewer")
51
  page_state = gr.State(1)
52
+ table = gr.Dataframe(headers=["Segment ID", "Description", "Candidate 1", "Candidate 2", "Candidate 3"],
53
+ datatype=["str", "str", "image", "image", "image"],
54
+ row_count=15)
55
  total_pages_text = gr.Textbox(label="Page Info", interactive=False)
56
 
57
  def update(page):