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/api/updatePost.ts from ProTema/first-start: direct link, hf CLI and curl.
- Browser
- Download file 432 Bytes
-
https://huggingface.co/ProTema/first-start/resolve/main/src/features/Post/api/updatePost.ts
- Command line
-
hf download hf://ProTema/first-start/src/features/Post/api/updatePost.ts
-
curl -L -o updatePost.ts https://huggingface.co/ProTema/first-start/resolve/main/src/features/Post/api/updatePost.ts
432 Bytes
| import { $api } from '@/shared/api/axiosInstance'; | |
| import { PostFormType } from '../ui/PostForm/PostForm'; | |
| type UpdatePostProps = { | |
| post_id: number; | |
| user_id: number; | |
| } & PostFormType; | |
| type UpdatePostResponse = { | |
| status: number; | |
| message: string; | |
| }; | |
| export const updatePost = async (props: UpdatePostProps) => { | |
| const { data } = await $api.post<UpdatePostResponse>(`/posts/update`, props); | |
| return data; | |
| }; | |