Generate creative tweets and threads with ChatGPT, powered by OpenAI's GPT-3 model.
This project is adapted from emailGPT by Lucas McCabe and utilizes the reverse ChatGPT method from acheong08/ChatGPT using the revChatGPT package and streamlit app. The original emailGPT project is licensed under the MIT License.
- Generate tweet options based on a given topic, tone, and style.
- Customize the tone and style for each tweet.
- choose between single tweet or twitter thread.
- Easy-to-use interface built with Streamlit.
Follow these steps to set up the project locally:
-
Clone the repository:
git clone https://github.com/rimabuilds/tweetGPT-app.git cd tweetGPT-app
-
Create and activate a virtual environment (optional, but recommended):
python3 -m venv myenv source myenv/bin/activate # On Windows, use `myenv\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt
-
Create a
.env
file in the project directory and add your OpenAI API key:OPENAI_API_KEY=your_api_key_here
-
Run the Streamlit app:
streamlit run app.py
-
Open your browser and visit
http://localhost:8501
to use the app.
Pull requests are welcome.