This project includes using Google Colab in collaboration with Streamlit to summarize text through file upload. Project report included.
i. Programming Language: Python (version 3.6 or later recommended)
ii. Libraries:
- txtai (v0.8.1 or later): For deploying your summarization model as an API.
- streamlit (v1.14 or later): For building the web application interface.
- transformers (v4.25 or later): Provides pre-trained models for text summarization tasks (if not using a custom model).
- opencv-python (v4.8.0 or later): For image processing tasks (if your project involves summarizing news articles with images).
- Upload the Colab file on your Google Colab account and run all the code blocks.
- Once you finish exceuting the last block i.e !streamlit run app.py & npx localtunnel --port 8501, it will generate a link labeled 'your url is'
- Click on the url. You will be redirected to a local tunnel webpage asking you for a pass.
- In your colab file, when you run the second last block i.e !wget -q -O - ipv4.icanhazip.com, you would have gotten an ip address as output. Paste this ip adrress in the local tunnel website and hit Enter.
- Tadaaa!! Streamlit is now running and you can summarize your text/documents.