This simple Flask-based web application allows users to input a large body of text and receive a summarized version of it. It utilizes the Hugging Face Inference API to generate the summary.
- Users can input any large text.
- Users can set the desired length for the summary.
- The summary is generated using a pre-trained model from the Hugging Face Inference API.
- It is possible for the user to select any summarization model from the Hugging Face website and get different results.
Before running the application, ensure you have Python and Flask installed.
- Clone the repository to your local machine.
- Install the necessary packages using:
pip install -r requirements.txt
- Run the Flask app:
python app.py
- Go to the web page provided by Flask.
- Enter the text you want to summarize in the text area.
- Adjust the slider to select the length of the summary.
- Click 'Submit' to get the summary of the text.
- Use the 'Copy text' button to copy the summary to the clipboard.
This application was built using the Hugging Face Inference API.