Skip to content

kevinnadar22/Blog-GPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog Post Generator using OpenAI GPT-3.5

This is a web application that generates blog posts using OpenAI GPT-3.5 and is built using Streamlit. With this application, users can generate unique blog posts on any topic by simply entering a title and a few keywords.

Description

The Blog Post Generator using OpenAI GPT-3.5 is a web application that makes use of OpenAI's cutting-edge language generation technology to generate unique blog posts on any topic. The user simply inputs a title and a few related keywords, and the application generates a unique blog post based on the input.

Blog Post Generator using OpenAI GPT-3.5

Usage

To use this application, you can follow the instructions below:

  1. Clone the repository from https://github.com/kevinnadar22/Blog-GPT
  2. Install the required dependencies using the following command:
pip install -r requirements.txt
  1. Set your OpenAI API key as an environment variable using the following command:
export OPENAI_API_KEY=<your-api-key>
  1. Run the Streamlit app using the following command:
streamlit run main.py
  1. Open the URL displayed in your terminal to access the web application
  2. Enter a title and a few keywords related to your blog post topic
  3. Click on "Generate Blog Post" and wait for the AI to generate a blog post for you
  4. You can download the generated blog post as a text file by clicking the "Download" button.

Obtaining API Key

In order to use the OpenAI GPT-3.5 API, you will need to obtain an API key. You can do this by following these steps:

  1. Go to https://beta.openai.com/signup/
  2. Create an account and follow the instructions to get started
  3. Once you have access to the API, copy your API key

Credits

This application was built using Streamlit and the OpenAI GPT-3.5 API. Special thanks to the Streamlit team for providing an easy-to-use platform for building web applications.

Author: Kevin Nadar GitHub: https://github.com/kevinnadar22