Spaces:
Sleeping
Sleeping
Download index.js from victor/test-docker: direct link, hf CLI and curl.
- Browser
- Download file 226 Bytes
-
https://huggingface.co/spaces/victor/test-docker/resolve/main/index.js
- Command line
-
hf download hf://spaces/victor/test-docker/index.js
-
curl -L -o index.js https://huggingface.co/spaces/victor/test-docker/resolve/main/index.js
226 Bytes
| const express = require("express"); | |
| const app = express(); | |
| const port = 7860; | |
| app.get("/", (req, res) => { | |
| res.send("Hello World!"); | |
| }); | |
| app.listen(port, () => { | |
| console.log(`Example app listening on port ${port}`); | |
| }); | |