Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sour-abh-raj/text-summarizer-using-palm-api
This is a simple implementation of arcticle summarization using Google's PaLM API text completition and streamlit.
https://github.com/sour-abh-raj/text-summarizer-using-palm-api
palm-api python stramlit text-summarization
Last synced: 29 days ago
JSON representation
This is a simple implementation of arcticle summarization using Google's PaLM API text completition and streamlit.
- Host: GitHub
- URL: https://github.com/sour-abh-raj/text-summarizer-using-palm-api
- Owner: Sour-abh-Raj
- License: mit
- Created: 2023-10-08T07:43:56.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-03T21:40:41.000Z (8 months ago)
- Last Synced: 2024-05-03T22:39:36.557Z (8 months ago)
- Topics: palm-api, python, stramlit, text-summarization
- Language: Python
- Homepage: https://text-summarizer-using-palm-api.onrender.com/
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Article Summarizer Using PaLM API
This is a simple implementation of arcticle summarization using Google's PaLM API text completition and streamlit.
- Adjust Temperature to adjust creativity level.
- Adjust Max Output Tokens to define the upper limit of the number of characters in the article summary.## Usage:
- Visit https://makersuite.google.com/app/home.
- Create a new API Key under Text Prompt.
- Rename .env.example to .env.
- Replace YOUR_API_KEY with this API Key.
- Open a terminal in your project folder.
- Run `pip install -r requirements.txt`.## Run the app:
- Open a terminal in your project folder and run `streamlit run main.py`.
- The Article Summarizer App will open in your default web browser. If you don't see any errors in the terminal but the app doesn't open automatically then visit http://127.0.0.1:8501/ to acess the app.
- Make the adjustments and enter the article text or article URL you wish to summarize.
- The article summary will be observed in a summary box.
- For any special use cases pass the use case prompt along with the article text or URL.
- For example, if you wish to summarize a news article with bulletpoints, pass the prompt "Summarize this news article with bulletpoints:" along with the article text or URL.
- If you are facing any issues try upgrading your python version or raise an issue in this repository.## Access the app here:
- https://text-summarizer-using-palm-api.onrender.com/
## License
[MIT](https://choosealicense.com/licenses/mit/)