fffiloni commited on
Commit
c8f511c
·
verified ·
1 Parent(s): b2b166e

add some css for nicer buttons

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -400,8 +400,14 @@ def reset_propagation(first_frame_path, predictor, stored_inference_state):
400
  predictor.reset_state(stored_inference_state)
401
  # print(f"RESET State: {stored_inference_state} ")
402
  return first_frame_path, gr.State([]), gr.State([]), gr.update(value=None, visible=False), stored_inference_state, None, ["frame_0.jpg"], first_frame_path, "frame_0.jpg", gr.update(visible=False)
403
-
404
- with gr.Blocks() as demo:
 
 
 
 
 
 
405
  first_frame_path = gr.State()
406
  tracking_points = gr.State([])
407
  trackings_input_label = gr.State([])
 
400
  predictor.reset_state(stored_inference_state)
401
  # print(f"RESET State: {stored_inference_state} ")
402
  return first_frame_path, gr.State([]), gr.State([]), gr.update(value=None, visible=False), stored_inference_state, None, ["frame_0.jpg"], first_frame_path, "frame_0.jpg", gr.update(visible=False)
403
+
404
+ css="""
405
+ button#component-19, button#component-26, button#component-40{
406
+ height: 83px!important;
407
+ }
408
+ """
409
+
410
+ with gr.Blocks(css=css) as demo:
411
  first_frame_path = gr.State()
412
  tracking_points = gr.State([])
413
  trackings_input_label = gr.State([])