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/PageError/ui/PageError.tsx from ProTema/first-start: direct link, hf CLI and curl.
- Browser
- Download file 672 Bytes
-
https://huggingface.co/ProTema/first-start/resolve/main/src/widgets/PageError/ui/PageError.tsx
- Command line
-
hf download hf://ProTema/first-start/src/widgets/PageError/ui/PageError.tsx
-
curl -L -o PageError.tsx https://huggingface.co/ProTema/first-start/resolve/main/src/widgets/PageError/ui/PageError.tsx
672 Bytes
| import { classNames } from '@/shared/lib/classNames/classNames'; | |
| import { Button } from '@/shared/ui/Button/Button'; | |
| import cls from './PageError.module.scss'; | |
| interface PageErrorProps { | |
| className?: string; | |
| } | |
| export const PageError = ({ className }: PageErrorProps) => { | |
| const reloadPage = () => { | |
| // eslint-disable-next-line no-restricted-globals | |
| location.reload(); | |
| }; | |
| return ( | |
| <div className={classNames(cls.PageError, {}, [className])}> | |
| <p>Произошла непредвиденная ошибка</p> | |
| <Button onClick={reloadPage}>Обновить страницу</Button> | |
| </div> | |
| ); | |
| }; | |