| import gradio as gr | |
| from data import df # type: ignore | |
| with gr.Blocks() as demo: | |
| gr.ScatterPlot(df, x="weight", y="height", color="age") | |
| if __name__ == "__main__": | |
| demo.launch() |
| import gradio as gr | |
| from data import df # type: ignore | |
| with gr.Blocks() as demo: | |
| gr.ScatterPlot(df, x="weight", y="height", color="age") | |
| if __name__ == "__main__": | |
| demo.launch() |