Download api/models/User.js from Zhitomir/chat: direct link, hf CLI and curl.
- Browser
- Download file 170 Bytes
-
https://huggingface.co/spaces/Zhitomir/chat/resolve/main/api/models/User.js
- Command line
-
hf download hf://spaces/Zhitomir/chat/api/models/User.js
-
curl -L -o User.js https://huggingface.co/spaces/Zhitomir/chat/resolve/main/api/models/User.js
170 Bytes
| const mongoose = require('mongoose'); | |
| const userSchema = require('~/models/schema/userSchema'); | |
| const User = mongoose.model('User', userSchema); | |
| module.exports = User; | |