Download testbed/Textualize__textual/sandbox/will/align.py from hc99/FEA-Bench: direct link, hf CLI and curl.
- Browser
- Download file 324 Bytes
-
https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/Textualize__textual/sandbox/will/align.py
- Command line
-
hf download hf://datasets/hc99/FEA-Bench/testbed/Textualize__textual/sandbox/will/align.py
-
curl -L -o align.py https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/Textualize__textual/sandbox/will/align.py
324 Bytes
| from textual.app import App, ComposeResult | |
| from textual.widgets import Static | |
| class Label(Static): | |
| pass | |
| class AlignApp(App): | |
| CSS_PATH = "align.css" | |
| def compose(self) -> ComposeResult: | |
| yield Label("Hello") | |
| yield Label("World!") | |
| if __name__ == "__main__": | |
| app = AlignApp() | |
| app.run() | |