Spaces:
Runtime error
Runtime error
Download app.py from Pepguy/highlight_removal: direct link, hf CLI and curl.
- Browser
- Download file 381 Bytes
-
https://huggingface.co/spaces/Pepguy/highlight_removal/resolve/main/app.py
- Command line
-
hf download hf://spaces/Pepguy/highlight_removal/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Pepguy/highlight_removal/resolve/main/app.py
381 Bytes
| const express = require('express'); | |
| const path = require('path'); | |
| const app = express(); | |
| // Serve static files from the 'public' directory | |
| app.use(express.static(path.join(__dirname, 'public'))); | |
| // ... your other routes and middleware ... | |
| const port = 7860; | |
| app.listen(port, () => { | |
| console.log(`Server running on port ${port}`); | |
| }); |