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
File size: 475 Bytes
41a71fd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | import { $api } from '@/shared/api/axiosInstance';
import { PostType } from '@/entities/Post';
import { PostFormType } from '../ui/PostForm/PostForm';
type CreatePostProps = {
user_id: number;
} & PostFormType;
type CreatePostResponse = {
status: number;
message: string;
post: PostType;
};
export const createPost = async (props: CreatePostProps) => {
const { data } = await $api.post<CreatePostResponse>(`/posts/create`, props);
return data;
};
|