File size: 198 Bytes
5b1e26b
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
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()