Skip to content

Streamlit project, using OpenAI's Assistants API and the News API.

Notifications You must be signed in to change notification settings

szilvia-csernus/news-summariser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

News Summarizer Assistant

Streamlit App using the OpenAI Assistants API and the News API.

project-image

How to run this project?

  1. Prerequisites:

    • Make sure Python3 is installed.
    • If you don't have an account with OpenAI, create one here: https://openai.com/ then create a project API key under Dashboard / API keys.
    • Create an account for News API here: https://newsapi.org/
  2. Clone the project.

  3. Create a virtual environment inside the project folder:

    python -m venv venv

  4. Activate the virtual environment:

    Mac: source venv/bin/activate

    Windows: venv\Scripts\activate

  5. Install the python dependencies:

    pip install -r requirements.txt

  6. Create an .env file in the root folder and add your project's API key:

    OPENAI_API_KEY=your-unique-opanai-project-key
    NEWS_API_KEY=your-unique-news-api-key
    
  7. Run project in the integrated terminal:

    streamlit run main.py

Credits

About

Streamlit project, using OpenAI's Assistants API and the News API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages