mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-21 01:01:05 +08:00
dc200af89c
* 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
8 lines
258 B
Python
8 lines
258 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.HighlightedText(value=[("Text","Label 1"),("to be","Label 2"),("highlighted","Label 3")])
|
|
|
|
demo.launch() |