Download app/javascript/controllers/hello_controller.js from denise-oneill-inbox-ru/Rails-8-API-Image-Processing: direct link, hf CLI and curl.
- Browser
- Download file 157 Bytes
-
https://huggingface.co/spaces/denise-oneill-inbox-ru/Rails-8-API-Image-Processing/resolve/main/app/javascript/controllers/hello_controller.js
- Command line
-
hf download hf://spaces/denise-oneill-inbox-ru/Rails-8-API-Image-Processing/app/javascript/controllers/hello_controller.js
-
curl -L -o hello_controller.js https://huggingface.co/spaces/denise-oneill-inbox-ru/Rails-8-API-Image-Processing/resolve/main/app/javascript/controllers/hello_controller.js
157 Bytes
| import { Controller } from "@hotwired/stimulus" | |
| export default class extends Controller { | |
| connect() { | |
| this.element.textContent = "Hello World!" | |
| } | |
| } | |