Spaces:
Sleeping
Sleeping
File size: 398 Bytes
dd8b1bf 43106f9 dd8b1bf 8e5eb32 dd8b1bf 114a7d7 dd8b1bf 114a7d7 dd8b1bf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
import gradio as gr
import pandas as pd
import numpy as np
import random
df = pd.DataFrame({
'height': np.random.randint(50, 70, 25),
'weight': np.random.randint(120, 320, 25),
'age': np.random.randint(18, 65, 25),
'ethnicity': [random.choice(["white", "black", "asian"]) for _ in range(25)]
})
with gr.Blocks() as demo:
gr.LinePlot(df, x="weight", y="height")
demo.launch()
|