Spaces:
Sleeping
Sleeping
File size: 327 Bytes
1ea4877 3ba364c 1ea4877 3ba364c 1ea4877 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
#!/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()
|