Spaces:
Runtime error
Runtime error
make buttons the same size
Browse files
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 |
-
|
| 97 |
-
gr.
|
|
|
|
| 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 |
|