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/app/providers/ThemeProviders/lib/ThemeContext.ts from ProTema/first-start: direct link, hf CLI and curl.
- Browser
- Download file 321 Bytes
-
https://huggingface.co/ProTema/first-start/resolve/main/src/app/providers/ThemeProviders/lib/ThemeContext.ts
- Command line
-
hf download hf://ProTema/first-start/src/app/providers/ThemeProviders/lib/ThemeContext.ts
-
curl -L -o ThemeContext.ts https://huggingface.co/ProTema/first-start/resolve/main/src/app/providers/ThemeProviders/lib/ThemeContext.ts
321 Bytes
| import { createContext } from 'react'; | |
| export enum Theme { | |
| LIGHT = 'light', | |
| DARK = 'dark', | |
| } | |
| export interface ThemeContextProps { | |
| theme?: Theme; | |
| setTheme?: (theme: Theme) => void; | |
| } | |
| export const ThemeContext = createContext<ThemeContextProps>({}); | |
| export const LOCAL_STORAGE_THEME_KEY = 'themeStart'; | |