Theme_test / app.py
QnoM's picture
Update app.py
7323ebe verified
Raw History Blame Contribute Delete
516 Bytes
import gradio as gr
theme = gr.themes.Soft(
font=[gr.themes.GoogleFont("Inter"), "Arial", "sans-serif"]
)
with gr.Blocks(theme=theme) as demo:
gr.Markdown("## Assistant")
gr.Textbox(label="Message")
theme2 = gr.themes.Monochrome(
font=[gr.themes.GoogleFont("Inter"), "Arial", "sans-serif"],
font_mono=[gr.themes.GoogleFont("IBM Plex Mono"), "ui-monospace", "monospace"],
)
with gr.Blocks(theme=theme2) as demo:
gr.Markdown("## Dashboard")
gr.Textbox(label="Query")
demo.launch()