mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-12 10:34:32 +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
391 B
Python
8 lines
391 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.HTML(value="<p style='margin-top: 1rem, margin-bottom: 1rem'>Gradio Docs Readers: <img src='https://visitor-badge.glitch.me/badge?page_id=gradio-docs-visitor-badge' alt='visitor badge' style='display: inline-block'/></p>")
|
|
|
|
demo.launch() |