| title: ONNX Slope Demo | |
| emoji: ๐ | |
| colorFrom: purple | |
| colorTo: blue | |
| sdk: gradio | |
| sdk_version: 5.23.1 | |
| python_version: "3.12" | |
| app_file: app.py | |
| pinned: false | |
| license: mit | |
| # ONNX Slope Demo | |
| PyTorch-trained linear regression (\( y \approx 2x + 1 \)) exported to ONNX and served with **ONNX Runtime**. | |
| Built from `spaces/space_slope/` in the monorepo. Retrain and re-export with: | |
| ```bash | |
| python train.py | |
| python export_onnx.py | |
| ``` | |