Shoubin commited on
Commit
bb2fbd6
1 Parent(s): 530a71c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -150,7 +150,7 @@ with gr.Blocks(title="SeViLA demo") as demo:
150
  <p>
151
  To locate keyframes in a video and answer question, please:
152
  <br>
153
- (1) upolad your video; (2) write your question/options and set # video frame/# keyframe/running device; (3) click Locate and Answer!
154
  <br>
155
  Just a heads up - loading the SeViLA model can take a few minutes (typically 2-3), and running examples requires about 12GB of memory.
156
  <br>
@@ -166,8 +166,9 @@ with gr.Blocks(title="SeViLA demo") as demo:
166
  option1 = gr.Textbox(placeholder="practicing cheer", label='Option 1')
167
  option2 = gr.Textbox(placeholder="posing for photo", label='Option 2')
168
  option3 = gr.Textbox(placeholder="to see better", label='Option 3')
169
- video_frame_num = gr.Textbox(placeholder=32, label='# Video Frame')
170
- keyframe_num = gr.Textbox(placeholder=4, label='# Keyframe')
 
171
  # device = gr.Textbox(placeholder=0, label='Device')
172
  gen_btn = gr.Button(value='Locate and Answer!')
173
  with gr.Column(scale=1, min_width=600):
 
150
  <p>
151
  To locate keyframes in a video and answer question, please:
152
  <br>
153
+ (1) upolad your video; (2) write your question/options and set # video frame/# keyframe; (3) click Locate and Answer!
154
  <br>
155
  Just a heads up - loading the SeViLA model can take a few minutes (typically 2-3), and running examples requires about 12GB of memory.
156
  <br>
 
166
  option1 = gr.Textbox(placeholder="practicing cheer", label='Option 1')
167
  option2 = gr.Textbox(placeholder="posing for photo", label='Option 2')
168
  option3 = gr.Textbox(placeholder="to see better", label='Option 3')
169
+ with gr.Row():
170
+ video_frame_num = gr.Textbox(placeholder=32, label='# Video Frame')
171
+ keyframe_num = gr.Textbox(placeholder=4, label='# Keyframe')
172
  # device = gr.Textbox(placeholder=0, label='Device')
173
  gen_btn = gr.Button(value='Locate and Answer!')
174
  with gr.Column(scale=1, min_width=600):