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/ui/LogoutButton/LogoutButton.tsx from ProTema/first-start: direct link, hf CLI and curl.
- Browser
- Download file 656 Bytes
-
https://huggingface.co/ProTema/first-start/resolve/main/src/features/Auth/ui/LogoutButton/LogoutButton.tsx
- Command line
-
hf download hf://ProTema/first-start/src/features/Auth/ui/LogoutButton/LogoutButton.tsx
-
curl -L -o LogoutButton.tsx https://huggingface.co/ProTema/first-start/resolve/main/src/features/Auth/ui/LogoutButton/LogoutButton.tsx
656 Bytes
| import { useSignOut } from '@/features/Auth'; | |
| import { Button, ButtonTheme } from '@/shared/ui/Button'; | |
| import { classNames } from '@/shared/lib/classNames/classNames'; | |
| import cls from './LogoutButton.module.scss'; | |
| interface LogoutButtonProps { | |
| className?: string; | |
| } | |
| export const LogoutButton = (props: LogoutButtonProps) => { | |
| const { className } = props; | |
| const { mutate: onLogout } = useSignOut(); | |
| return ( | |
| <Button | |
| className={classNames(cls.LogoutButton, {}, [className])} | |
| theme={ButtonTheme.NAVIGATION} | |
| onClick={() => onLogout()} | |
| > | |
| Выйти | |
| </Button> | |
| ); | |
| }; | |