Instructions to use ProTema/first-start with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- BERTopic
How to use ProTema/first-start with BERTopic:
from bertopic import BERTopic model = BERTopic.load("ProTema/first-start") - Notebooks
- Google Colab
- Kaggle
Download src/features/Auth/api/signInByEmail.ts from ProTema/first-start: direct link, hf CLI and curl.
- Browser
- Download file 439 Bytes
-
https://huggingface.co/ProTema/first-start/resolve/main/src/features/Auth/api/signInByEmail.ts
- Command line
-
hf download hf://ProTema/first-start/src/features/Auth/api/signInByEmail.ts
-
curl -L -o signInByEmail.ts https://huggingface.co/ProTema/first-start/resolve/main/src/features/Auth/api/signInByEmail.ts
439 Bytes
| import { $api } from '@/shared/api/axiosInstance'; | |
| import { UserType } from '@/entities/User'; | |
| import { AuthByEmailType } from '../ui/AuthByEmail/AuthByEmail'; | |
| type LoginProps = AuthByEmailType; | |
| type LoginResponse = { | |
| status: number; | |
| user: UserType; | |
| token: string; | |
| }; | |
| export const signInByEmail = async (authData: LoginProps) => { | |
| const { data } = await $api.post<LoginResponse>(`/login`, authData); | |
| return data; | |
| }; | |