Spaces:
Sleeping
Sleeping
File size: 366 Bytes
9d9d451 2ea5eb3 9d9d451 2ea5eb3 9d9d451 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
#!/usr/bin/env python
import gradio as gr
import pandas as pd
df = pd.DataFrame(
data={
"a": ["a", "b"],
"b": [
"""
- Item 1
- Item 2
- Item 3
""",
"c",
],
}
)
with gr.Blocks() as demo:
gr.Dataframe(value=df, datatype="markdown", line_breaks=False)
if __name__ == "__main__":
demo.queue().launch()
|