BhumikaMak commited on
Commit
1cd1f16
·
verified ·
1 Parent(s): bb3b70f

change run button display

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -76,6 +76,8 @@ custom_css = """
76
  border-radius: 10px;
77
  cursor: pointer;
78
  margin-top: 10px;
 
 
79
  }
80
  .custom-row img {
81
  border-radius: 10px;
@@ -117,8 +119,9 @@ with gr.Blocks(css=custom_css) as interface:
117
  value=["yolov5"],
118
  label="Select Model(s)",
119
  )
 
 
120
 
121
- run_button = gr.Button("Run", elem_classes="custom-button")
122
 
123
  with gr.Column():
124
  sample_display = gr.Image(
@@ -143,6 +146,7 @@ with gr.Blocks(css=custom_css) as interface:
143
  inputs=sample_selection,
144
  outputs=sample_display,
145
  )
 
146
 
147
  with gr.Row(elem_classes="custom-row"):
148
  dff_gallery = gr.Gallery(
 
76
  border-radius: 10px;
77
  cursor: pointer;
78
  margin-top: 10px;
79
+ margin-left: auto;
80
+ margin-right: auto;
81
  }
82
  .custom-row img {
83
  border-radius: 10px;
 
119
  value=["yolov5"],
120
  label="Select Model(s)",
121
  )
122
+ with gr.Row(elem_classes="custom-row"):
123
+ run_button = gr.Button("Run", elem_classes="custom-button")
124
 
 
125
 
126
  with gr.Column():
127
  sample_display = gr.Image(
 
146
  inputs=sample_selection,
147
  outputs=sample_display,
148
  )
149
+
150
 
151
  with gr.Row(elem_classes="custom-row"):
152
  dff_gallery = gr.Gallery(