File size: 516 Bytes
ac02a8c
 
 
 
 
 
 
 
 
e708304
 
 
 
7323ebe
e708304
 
 
 
 
 
ac02a8c
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

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()