Skip to content

shfa-e/Tweet-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Tweet-Generator

This is a simple web app that uses OpenAI to generate tweets based on user input. The user selects a content type (e.g. news, sports, entertainment, technology, politics), and the app generates a tweet about that content type.

Requirements

  • Python 3.6 or later
  • openai Python package
  • streamlit Python package

Installation

  1. Clone this repository: git clone https://github.com/shfa-e/tweet-generator.git
  2. Install the required Python packages: pip install openai streamlit
  3. Set up your OpenAI API key by following the instructions on the OpenAI website.

Usage

  1. Start the Streamlit app: streamlit run tweet_generator.py
  2. Open your web browser and go to http://localhost:8501
  3. Choose a content type from the dropdown menu and click the "Generate Tweet" button.
  4. The app will generate a tweet about the chosen content type and display it on the page.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages