Spaces:
Sleeping
Sleeping
File size: 332 Bytes
5bc07cb e708379 5bc07cb e708379 5bc07cb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
#!/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()
|