Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
import { apiReference } from "@scalar/express-api-reference"; | |
import express from "express"; | |
const app = express(); | |
app.use( | |
"/", | |
apiReference({ | |
url: "https://huggingface.co/.well-known/openapi.json", | |
hideClientButton: true, | |
}) | |
); | |
const port = 7860; | |
app.listen(port, () => { | |
console.log(`Server running on port ${port}`); | |
}); | |