This is a FastAPI application that provides text prediction functionality using a pre-trained RoBERTa model. The application serves a static HTML file and exposes an endpoint for generating text predictions.
uvicorn main:app --reload
The application will be available at http://127.0.0.1:8000
Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.
- Hugging Face for providing the Transformers library.
- FastAPI for creating an easy-to-use web framework.