Skip to content

text-summarizer

Description

Note

More information about the service specification can be found in the Core concepts > Service documentation.

This service summarizes a text using the Hugging Face library.

The API documentation is automatically generated by FastAPI using the OpenAPI standard. A user friendly interface provided by Swagger is available under the /docs route, where the endpoints of the service are described.

This service only has one route /compute that takes a text as input and returns a summary of the text using the Hugging Face library philschmid/bart-large-cnn-samsum.

Environment variables

Check the Core concepts > Service > Environment variables documentation for more details.

Run the tests with Python

Check the Core concepts > Service > Run the tests with Python documentation for more details.

Start the service locally

Check the Core concepts > Service > Start the service locally documentation for more details.