Spaces:
Running
on
L4
Running
on
L4
This PR adds color code for button
Browse filesAdd the feature of standard color code for the Run button. It helps the users to understand how the space works.
Click on _Merge_ to add this feature.
app.py
CHANGED
@@ -337,7 +337,7 @@ with gr.Blocks(css=css) as demo:
|
|
337 |
container=False,
|
338 |
)
|
339 |
|
340 |
-
run_button = gr.Button("Run", scale=0)
|
341 |
|
342 |
result = gr.Image(label="Result", show_label=False)
|
343 |
|
|
|
337 |
container=False,
|
338 |
)
|
339 |
|
340 |
+
run_button = gr.Button("Run", scale=0, variant="primary")
|
341 |
|
342 |
result = gr.Image(label="Result", show_label=False)
|
343 |
|