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/Post/model/store/usePostStore.ts from ProTema/first-start: direct link, hf CLI and curl.
- Browser
- Download file 434 Bytes
-
https://huggingface.co/ProTema/first-start/resolve/main/src/features/Post/model/store/usePostStore.ts
- Command line
-
hf download hf://ProTema/first-start/src/features/Post/model/store/usePostStore.ts
-
curl -L -o usePostStore.ts https://huggingface.co/ProTema/first-start/resolve/main/src/features/Post/model/store/usePostStore.ts
434 Bytes
| import { create } from 'zustand'; | |
| import { devtools } from 'zustand/middleware'; | |
| import { PostSchema } from '../types/postSchema'; | |
| export const usePostStore = create<PostSchema>()( | |
| devtools((set, get) => ({ | |
| isModalActive: false, | |
| editablePost: undefined, | |
| toggleModal: () => set({ isModalActive: !get().isModalActive }), | |
| changingEditablePost: (postId) => set({ editablePostId: postId }), | |
| })) | |
| ); | |