Spaces:
Running
Running
import solara | |
from pathlib import Path | |
HERE = Path(__file__).parent | |
def Page(): | |
md_text = (HERE.parent / "README.md").read_text() | |
# take out front matter | |
md_text = md_text.rpartition("---")[2] | |
solara.Markdown(md_text) | |
solara.Title("Draw data widget demo with Solara ☀️") | |
def Layout(children): | |
solara.AppLayout(children=children) | |