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/shared/ui/Portal/Portal.tsx from ProTema/first-start: direct link, hf CLI and curl.
- Browser
- Download file 310 Bytes
-
https://huggingface.co/ProTema/first-start/resolve/main/src/shared/ui/Portal/Portal.tsx
- Command line
-
hf download hf://ProTema/first-start/src/shared/ui/Portal/Portal.tsx
-
curl -L -o Portal.tsx https://huggingface.co/ProTema/first-start/resolve/main/src/shared/ui/Portal/Portal.tsx
310 Bytes
| import { ReactNode } from 'react'; | |
| import { createPortal } from 'react-dom'; | |
| interface PortalProps { | |
| children: ReactNode; | |
| element?: HTMLElement; | |
| } | |
| export const Portal = (props: PortalProps) => { | |
| const { children, element = document.body } = props; | |
| return createPortal(children, element); | |
| }; | |