File size: 837 Bytes
f25a499
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Default theme demo
import gradio as gr

with gr.Blocks(theme=freddyaboulton/my-solid-theme) as demo:
    with gr.Tabs():
        with gr.Tab("Simple Inputs"):
            with gr.Row():
                with gr.Column():
                    gr.Textbox(interactive=True)
                    gr.Radio(choices=["a", "b", "c"], interactive=True)
                    gr.Checkbox(interactive=True)
                with gr.Column():
                    with gr.Box():
                        gr.Number(interactive=True)
                        gr.CheckboxGroup(choices=["one", "two", "three"], interactive=True)
                        gr.Dropdown(choices=["d", "e", "f"], interactive=True)
                with gr.Column():
                    gr.Slider(minimum=0, maximum=10, interactive=True)


if __name__ == "__main__":
    demo.launch()