Spaces:
Paused
Paused
import gradio as gr | |
with gr.Blocks() as demo: | |
df = gr.Dataframe( | |
type="array", | |
headers=["name"], | |
datatype=["str"], | |
row_count=(4, "fixed"), | |
col_count=(1, "fixed")) | |
btn = gr.Button() | |
btn.click(print, df) | |
demo.launch() |