gradio/demo/label_component/run.py
2023-07-07 12:44:16 -04:00

6 lines
144 B
Python

import gradio as gr
with gr.Blocks() as demo:
gr.Label(value={"First Label": 0.7, "Second Label": 0.2, "Third Label": 0.1})
demo.launch()