hysts's picture
hysts HF Staff
Update
e708379
raw
history blame contribute delete
332 Bytes
#!/usr/bin/env python
import gradio as gr
import pandas as pd
x = ["[Hugging Face](https://huggingface.co/)", "[Gradio](https://www.gradio.app/)"]
df = pd.DataFrame(data={f"{i}": x for i in range(5)})
with gr.Blocks() as demo:
gr.Dataframe(value=df, datatype="markdown")
if __name__ == "__main__":
demo.queue().launch()