gradio/demo/checkboxgroup_component/run.py
Ali Abdalla dc200af89c
Remove footers and min-height the correct way (#2860)
* fixes to readme

* add css to demos and remove footer js from html

* update changelog

* fix weird notebook

* fix weird notebook

* fix weird notebook

* fix weird notebook...

* actually fixed the problem
2022-12-21 19:01:42 +04:00

8 lines
241 B
Python

import gradio as gr
css = "footer {display: none !important;} .gradio-container {min-height: 0px !important;}"
with gr.Blocks(css=css) as demo:
gr.CheckboxGroup(choices=["First Choice", "Second Choice", "Third Choice"])
demo.launch()