Download testbed/Textualize__textual/sandbox/will/input.py from hc99/FEA-Bench: direct link, hf CLI and curl.
- Browser
- Download file 301 Bytes
-
https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/Textualize__textual/sandbox/will/input.py
- Command line
-
hf download hf://datasets/hc99/FEA-Bench/testbed/Textualize__textual/sandbox/will/input.py
-
curl -L -o input.py https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/Textualize__textual/sandbox/will/input.py
301 Bytes
| from textual.app import App | |
| from textual.widgets import Input | |
| class InputApp(App): | |
| CSS = """ | |
| Input { | |
| width: 20; | |
| } | |
| """ | |
| def compose(self): | |
| yield Input("你123456789界", placeholder="Type something") | |
| if __name__ == "__main__": | |
| app = InputApp() | |
| app.run() | |