mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-21 02:19:59 +08:00
8 lines
178 B
Python
8 lines
178 B
Python
|
import gradio as gr
|
||
|
from data import df
|
||
|
|
||
|
with gr.Blocks() as demo:
|
||
|
gr.BarPlot(df, x="ethnicity", y="height", y_aggregate="mean")
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
demo.launch()
|