hysts HF staff commited on
Commit
5b1e26b
·
verified ·
1 Parent(s): 59bef6e

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import numpy as np
3
+
4
+ np.random.seed(0)
5
+ data = np.random.randint(0, 100, size=(10, 10))
6
+
7
+ with gr.Blocks() as demo:
8
+ gr.Dataframe(value=data, show_row_numbers=True)
9
+ demo.launch()