Ashoka74 commited on
Commit
022cb8c
1 Parent(s): 73324d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -15
app.py CHANGED
@@ -950,21 +950,20 @@ with block:
950
  placeholder="Enter object classes separated by periods (e.g. 'car . person .')",
951
  value="couch . table ."
952
  )
953
-
954
- x_slider = gr.Slider(
955
- minimum=0,
956
- maximum=1000,
957
- label="X Position",
958
- value=500,
959
- visible=False
960
- )
961
- y_slider = gr.Slider(
962
- minimum=0,
963
- maximum=1000,
964
- label="Y Position",
965
- value=500,
966
- visible=False
967
- )
968
  extract_button = gr.Button(value="(Option 2) Remove Background")
969
  with gr.Row():
970
  extracted_objects = gr.Image(type="numpy", label="Extracted Foreground", height=480)
 
950
  placeholder="Enter object classes separated by periods (e.g. 'car . person .')",
951
  value="couch . table ."
952
  )
953
+ x_slider = gr.Slider(
954
+ minimum=0,
955
+ maximum=1000,
956
+ label="X Position",
957
+ value=500,
958
+ visible=False
959
+ )
960
+ y_slider = gr.Slider(
961
+ minimum=0,
962
+ maximum=1000,
963
+ label="Y Position",
964
+ value=500,
965
+ visible=False
966
+ )
 
967
  extract_button = gr.Button(value="(Option 2) Remove Background")
968
  with gr.Row():
969
  extracted_objects = gr.Image(type="numpy", label="Extracted Foreground", height=480)