Download function.yaml from kmjtspxr/mj: direct link, hf CLI and curl.
- Browser
- Download file 474 Bytes
-
https://huggingface.co/kmjtspxr/mj/resolve/main/function.yaml
- Command line
-
hf download hf://kmjtspxr/mj/function.yaml
-
curl -L -o function.yaml https://huggingface.co/kmjtspxr/mj/resolve/main/function.yaml
474 Bytes
| metadata: | |
| name: yolov8-function | |
| namespace: nuclio | |
| spec: | |
| runtime: "python:3.9" | |
| handler: "main:handler" | |
| description: "YOLOv8 object detection" | |
| resources: | |
| limits: | |
| cpu: "500m" | |
| memory: "512Mi" | |
| build: | |
| path: "./" | |
| baseImage: "python:3.9" | |
| commands: | |
| - pip install -r requirements.txt | |
| triggers: | |
| myHttpTrigger: | |
| class: "http" | |
| kind: "http" | |
| maxWorkers: 4 | |
| attributes: | |
| port: 8080 | |