Spaces:
Sleeping
Sleeping
debug: run button display
Browse files
app.py
CHANGED
@@ -99,6 +99,19 @@ body {
|
|
99 |
margin: 0 auto; /* Center within its container */
|
100 |
box-sizing: border-box; /* Ensure consistent sizing */
|
101 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
|
103 |
|
104 |
/* Custom border styles for all Gradio components */
|
@@ -177,8 +190,12 @@ with gr.Blocks(css=custom_css) as interface:
|
|
177 |
label="Select Model(s)",
|
178 |
)
|
179 |
#with gr.Row(elem_classes="custom-row"):
|
180 |
-
|
181 |
-
|
|
|
|
|
|
|
|
|
182 |
|
183 |
|
184 |
with gr.Column():
|
|
|
99 |
margin: 0 auto; /* Center within its container */
|
100 |
box-sizing: border-box; /* Ensure consistent sizing */
|
101 |
}
|
102 |
+
#run-button {
|
103 |
+
background-color: #6a1b9a !important;
|
104 |
+
color: white !important;
|
105 |
+
font-size: 12px !important; /* Small font size */
|
106 |
+
width: 100px !important; /* Fixed width */
|
107 |
+
height: 35px !important; /* Fixed height */
|
108 |
+
border-radius: 6px !important;
|
109 |
+
padding: 0 !important;
|
110 |
+
text-align: center !important;
|
111 |
+
display: block !important; /* Ensure block-level alignment */
|
112 |
+
margin: 0 auto !important; /* Center horizontally */
|
113 |
+
box-sizing: border-box !important;
|
114 |
+
}
|
115 |
|
116 |
|
117 |
/* Custom border styles for all Gradio components */
|
|
|
190 |
label="Select Model(s)",
|
191 |
)
|
192 |
#with gr.Row(elem_classes="custom-row"):
|
193 |
+
run_button = gr.Button(
|
194 |
+
"Run",
|
195 |
+
elem_id="run-button",
|
196 |
+
style={"background-color": "#800000", "width": "100px", "height": "35px", "margin": "0 auto"},
|
197 |
+
)
|
198 |
+
|
199 |
|
200 |
|
201 |
with gr.Column():
|