Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 338 Bytes
fd0873a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
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}`);
});
|