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/widgets/Header/ui/Header.tsx from ProTema/first-start: direct link, hf CLI and curl.
- Browser
- Download file 1.2 kB
-
https://huggingface.co/ProTema/first-start/resolve/main/src/widgets/Header/ui/Header.tsx
- Command line
-
hf download hf://ProTema/first-start/src/widgets/Header/ui/Header.tsx
-
curl -L -o Header.tsx https://huggingface.co/ProTema/first-start/resolve/main/src/widgets/Header/ui/Header.tsx
1.2 kB
| import { Menu } from '@/features/Menu'; | |
| import { AppLink } from '@/shared/ui/AppLink'; | |
| import { Wrapper } from '@/shared/ui/Wrapper'; | |
| import { LogoutButton } from '@/features/Auth'; | |
| import { ThemeButton } from '@/features/ThemeButton'; | |
| import { SideMenuButton } from '@/features/SideMenu'; | |
| import { classNames } from '@/shared/lib/classNames/classNames'; | |
| import Logo from '@/shared/assets/icons/logo.svg?react'; | |
| import cls from './Header.module.scss'; | |
| interface HeaderProps { | |
| className?: string; | |
| } | |
| export const Header = (props: HeaderProps) => { | |
| const { className } = props; | |
| return ( | |
| <header className={classNames(cls.Header, {}, [className])}> | |
| <Wrapper> | |
| <div className={cls.content}> | |
| <div className={cls.logo}> | |
| <AppLink to="/" icon={<Logo className={cls.logoIcon} />} /> | |
| </div> | |
| <div className={cls.block}> | |
| <Menu /> | |
| <LogoutButton /> | |
| <SideMenuButton /> | |
| <ThemeButton /> | |
| </div> | |
| </div> | |
| </Wrapper> | |
| </header> | |
| ); | |
| }; | |