Fabrice-TIERCELIN commited on
Commit
91167be
·
verified ·
1 Parent(s): 0b53fde

This PR adds color code for button

Browse files

Add 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.

Files changed (1) hide show
  1. app.py +1 -1
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