File size: 194 Bytes
56c3d38
f4026b8
56c3d38
 
 
 
 
 
1
2
3
4
5
6
7
8
import gradio as gr
from data import df  # type: ignore

with gr.Blocks() as demo:
    gr.BarPlot(df, x="ethnicity", y="height", y_aggregate="mean")

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