About | Features | Technologies | Requirements | Starting | License | Author
Overview The YouTube Page Generator is a unique tool designed to help content creators brainstorm and generate YouTube video titles and scripts. It leverages the power of OpenAI's language model, Wikipedia's extensive database, and the Streamlit framework to provide a highly interactive and user-friendly interface.
The app takes in a user-provided prompt, uses it to generate a YouTube video title, performs research on the topic via Wikipedia, and then produces a script for the video based on the generated title and the Wikipedia research.
The app is built with Python and utilizes several libraries and APIs to achieve its functionality.
✔️ OpenAI API: The app utilizes the OpenAI API to generate creative YouTube video titles and scripts. The OpenAI language model is trained on a wide range of internet text and can generate human-like text based on the provided prompts.
✔️ Wikipedia API Wrapper: This is used to fetch research information about the user-provided prompt from Wikipedia. This data is then used to enhance the video script generation process.
✔️ Prompt Templates: The app uses two main prompts to interact with the OpenAI API. The first generates a YouTube video title about the given topic, and the second generates a video script based on the title and the Wikipedia research.
✔️ Memory Buffers: The app uses conversation buffers to keep track of the chat history for both the title generation and script generation processes. This allows users to see how the generated title and script evolved over time.
✔️ Interactive UI: The app uses Streamlit, a framework for building interactive web applications with Python, to deliver a user-friendly interface. Users can input their prompts, see the generated title and script, and also view the title history, script history, and Wikipedia research in expandable sections.
Input Prompt: Enter your desired topic or idea in the text input field labeled "Plug in your prompt here".
Generate Title & Script: After you've entered your prompt, the app will automatically generate a YouTube video title and script. The generated title and script will be displayed on the page.
View History & Research: You can click on the 'Title History', 'Script History', and 'Wikipedia Research' expanders to view the respective information.
Python 3.6 or later OpenAI's GPT-4 Streamlit langchain chromadb tiktoken Wikipedia API
Install Required Libraries: The app uses Streamlit for the interface and makes API calls to OpenAI and Wikipedia. These libraries can be installed using pip, Python's package installer. Open your terminal, navigate to the directory containing the Python file, and run the following commands:
pip install streamlit langchain openai chromadb tiktoken wikipedia
The app uses an environment variable to store the OpenAI API key. You will need to set this in your environment or in the apikey.py file.
# Clone this project
$ git clone https://github.com/jordanistan/AutoTubeGPT
# Access
$ cd AutoTubeGPT
# Install dependencies
$ pip install streamlit langchain openai chromadb tiktoken wikipedia
# Run the project
$ streamlit run AutoTubeGPT.py
# The server will initialize in the <http://localhost:8501>
This project is under license from MIT. For more details, see the LICENSE file.
Made with ❤️ by El Gato