This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
The API powering this UI now lives in a separate repository:
- Repo: https://github.com/1-WaleedAhmad/AI-Story-and-Poem-Generator
- Live API (fine‑tuned): https://WwaleedAhmad-aistorypoem-gpt2-finetuned.hf.space
The model was fine‑tuned on a custom dataset using a free Google Colab GPU. The fine‑tuned model is hosted in the Space above.
The frontend expects the backend at http://localhost:8000 when running locally. See the backend repo’s README for setup instructions.
- Repo: https://github.com/1-WaleedAhmad/AI-Story-and-Poem-Generator-FRONTEND
- Live demo: https://ai-story-and-poem-generator-frontend.vercel.app/
Currently two official plugins are available:
- @vitejs/plugin-react uses Babel (or oxc when used in rolldown-vite) for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
If you are developing a production application, we recommend using TypeScript with type‑aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.