abidlabs's picture
abidlabs HF Staff
Update app.py
49eecfb verified
raw
history blame
246 Bytes
import gradio as gr
import pandas as pd
import time
def value_func():
return pd.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]})
with gr.Blocks() as demo:
gr.DataFrame(value=value_func)
gr.Textbox(value=time.time, every=1)
demo.launch()