Krebzonide commited on
Commit
71d6b82
1 Parent(s): a54ef95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,10 +1,12 @@
1
  import gradio as gr
2
 
3
  with gr.Blocks() as demo:
4
- gr.Dataframe(
5
  headers=["name"],
6
  datatype=["str"],
7
  row_count=5,
8
  col_count=(1, "fixed"))
 
 
9
 
10
  demo.launch()
 
1
  import gradio as gr
2
 
3
  with gr.Blocks() as demo:
4
+ df = gr.Dataframe(
5
  headers=["name"],
6
  datatype=["str"],
7
  row_count=5,
8
  col_count=(1, "fixed"))
9
+ btn = gr.Button()
10
+ btn.click(print, df)
11
 
12
  demo.launch()