Download testbed/Textualize__textual/sandbox/will/table_layout.py from hc99/FEA-Bench: direct link, hf CLI and curl.
- Browser
- Download file 399 Bytes
-
https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/Textualize__textual/sandbox/will/table_layout.py
- Command line
-
hf download hf://datasets/hc99/FEA-Bench/testbed/Textualize__textual/sandbox/will/table_layout.py
-
curl -L -o table_layout.py https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/Textualize__textual/sandbox/will/table_layout.py
399 Bytes
| from textual.app import App | |
| from textual.widgets import Static | |
| class TableLayoutApp(App): | |
| def compose(self): | |
| yield Static("foo", id="foo") | |
| yield Static("bar") | |
| yield Static("baz") | |
| yield Static("foo") | |
| yield Static("bar") | |
| yield Static("baz", id="last") | |
| app = TableLayoutApp(css_path="table_layout.css") | |
| if __name__ == "__main__": | |
| app.run() | |