DataFrameTest / app.py
Krebzonide's picture
Update app.py
5efaf72 verified
raw
history blame contribute delete
No virus
269 Bytes
import gradio as gr
with gr.Blocks() as demo:
df = gr.Dataframe(
type="numpy",
headers=["name"],
datatype=["str"],
row_count=(4, "fixed"),
col_count=(1, "fixed"))
btn = gr.Button()
btn.click(print, df)
demo.launch()