This is a simple API that connect to huggingface.co API to get the model and classify the text.
- Clone the repository
- Set the environment variable
HF_API_TOKEN
with your huggingface.co API key - Run the command
go run main.go
- Redis
- Ratelimiter
- Gin
This is a simple API that connect to huggingface.co API to get the model and classify the text.
HF_API_TOKEN
with your huggingface.co API keygo run main.go