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/Post/ui/EditPostModal/EditPostModal.tsx from ProTema/first-start: direct link, hf CLI and curl.
- Browser
- Download file 498 Bytes
-
https://huggingface.co/ProTema/first-start/resolve/main/src/widgets/Post/ui/EditPostModal/EditPostModal.tsx
- Command line
-
hf download hf://ProTema/first-start/src/widgets/Post/ui/EditPostModal/EditPostModal.tsx
-
curl -L -o EditPostModal.tsx https://huggingface.co/ProTema/first-start/resolve/main/src/widgets/Post/ui/EditPostModal/EditPostModal.tsx
498 Bytes
| import { Modal } from '@/shared/ui/Modal'; | |
| import { Portal } from '@/shared/ui/Portal'; | |
| import { PostForm, usePostStore } from '@/features/Post'; | |
| export const EditPostModal = () => { | |
| const isModalActive = usePostStore((state) => state.isModalActive); | |
| const toggleModal = usePostStore((state) => state.toggleModal); | |
| return ( | |
| <Portal> | |
| <Modal isOpen={isModalActive} onClose={toggleModal}> | |
| <PostForm /> | |
| </Modal> | |
| </Portal> | |
| ); | |
| }; | |