Article Summarizer with Gemini API
1.0.0
This is the home page where users can start the process of summarizing an article.
On this page, users can enter the URL of the article they want to summarize.
After submitting the URL, the summarized article is displayed on this page.
Clone the repository:
git clone https://github.com/AbdooMohamedd/Article-Summarizer-with-Gemini-API.git
Install the required packages:
pip install -r requirements.txt
Generate an API key: Go to Google AI Studio and generate your API key.
Set up the GEMINI_API_KEY
environment variable:
On Windows:
set GEMINI_API_KEY=your_api_key_here
GEMINI_API_KEY
with your API key.On macOS/Linux:
export GEMINI_API_KEY=your_api_key_here
~/.bashrc
, ~/.bash_profile
, or ~/.zshrc
:
export GEMINI_API_KEY=your_api_key_here
source ~/.bashrc # or ~/.bash_profile or ~/.zshrc
Navigate to the project folder:
cd path/to/your/project
Run the application:
python app.py