dataframe_load / app.py
freddyaboulton's picture
Update app.py
1d0f5d8
raw
history blame contribute delete
193 Bytes
import gradio as gr
import pandas as pd
def value_func():
return pd.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]})
with gr.Blocks() as demo:
gr.DataFrame(value=value_func)
demo.launch()