hysts's picture
hysts HF Staff
Update
3ba364c
raw
history blame
327 Bytes
#!/usr/bin/env python
import gradio as gr
import pandas as pd
df = pd.DataFrame({"a": list(range(100)), "b": ["aaa"] * 100})
with gr.Blocks() as demo:
gr.Dataframe(
value=df,
datatype=["number", "str"],
type="pandas",
interactive=False,
max_rows=None,
)
demo.queue().launch()