Code Monkey home page Code Monkey logo

autotubegpt's Introduction

AutoTubeGPT

 

AutoTubeGPT

Github top language Github language count Repository size License

About   |   Features   |   Technologies   |   Requirements   |   Starting   |   License   |   Author


🎯 About

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.

✨ Features

✔️ 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.

🚀 How to Use

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.

✅ Dependencies

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

✅ Environment Variables

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.

🏁 Starting

# 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>

📝 License

This project is under license from MIT. For more details, see the LICENSE file.

Made with ❤️ by El Gato

 

Back to top

autotubegpt's People

Contributors

jordanistan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.