aroffe commited on
Commit
0937f1b
·
verified ·
1 Parent(s): c82a699

make buttons the same size

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -93,8 +93,9 @@ with gr.Blocks() as demo:
93
 
94
  For faster inference, you can duplicate the space and upgrade the hardware resources!
95
  """)
96
- gr.DuplicateButton(icon="https://chunte-hfba.static.hf.space/images/Outlined%20Huggies/Scan%20Huggy.png")
97
- gr.LoginButton()
 
98
  dropdown = gr.Dropdown(visible=False)
99
  demo.load(get_dropdown_for_huggingface, inputs=None, outputs=dropdown)
100
 
 
93
 
94
  For faster inference, you can duplicate the space and upgrade the hardware resources!
95
  """)
96
+ # Make the buttons the same size for aesthetics
97
+ gr.DuplicateButton(variant="secondary", size="lg", icon="https://chunte-hfba.static.hf.space/images/Outlined%20Huggies/Scan%20Huggy.png")
98
+ gr.LoginButton(variant="secondary", size="lg")
99
  dropdown = gr.Dropdown(visible=False)
100
  demo.load(get_dropdown_for_huggingface, inputs=None, outputs=dropdown)
101