import gradio as gr import numpy as np np.random.seed(0) data = np.random.randint(0, 100, size=(10, 10)) with gr.Blocks() as demo: gr.Dataframe(value=data, show_row_numbers=True) demo.launch()