Spaces:
Running
Running
File size: 482 Bytes
db691a4 cd45a7b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
import gradio as gr
from gradio.themes.utils import sizes
with open("banner.html", "r") as file:
banner = file.read()
CUSTOM_CSS = """
.image-container img {
max-width: 192px;
max-height: 288px;
margin: 0 auto;
border-radius: 0px;
.gradio-container {background-color: #fafafa}
"""
with gr.Blocks(css=CUSTOM_CSS, theme=gr.themes.Monochrome(radius_size=sizes.radius_md)) as demo:
gr.HTML(banner)
if __name__ == "__main__":
demo.launch(show_api=False)
|