reab5555 commited on
Commit
3cb7297
·
verified ·
1 Parent(s): 97afa8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -9
app.py CHANGED
@@ -177,18 +177,13 @@ def gradio_app():
177
  inputs=None,
178
  outputs=[processed_frames, frame_scores, output_image, heatmap_output, error_output, frame_slider])
179
 
180
- # Rearrange the layout
181
- video_input.render()
182
- target_input.render()
183
  with gr.Row():
184
  with gr.Column(scale=2):
185
- output_image.render()
186
  with gr.Column(scale=1):
187
- sample_video_frame.render()
188
- use_sample_button.render()
189
- frame_slider.render()
190
- heatmap_output.render()
191
- error_output.render()
192
 
193
  return app
194
 
 
177
  inputs=None,
178
  outputs=[processed_frames, frame_scores, output_image, heatmap_output, error_output, frame_slider])
179
 
180
+ # Layout
 
 
181
  with gr.Row():
182
  with gr.Column(scale=2):
183
+ output_image
184
  with gr.Column(scale=1):
185
+ sample_video_frame
186
+ use_sample_button
 
 
 
187
 
188
  return app
189