Spaces:
Runtime error
title: YouTube GPT Creator
emoji: 🐨
colorFrom: green
colorTo: blue
sdk: streamlit
sdk_version: 1.26.0
app_file: app.py
pinned: false
license: openrail
YouTube Context Explorer
Goal
The goal of this application is to facilitate the generation of engaging content suggestions and scripts for YouTube videos based on user-input topics. By leveraging OpenAI's language models and Wikipedia research, the application aims to provide captivating and unique content ideas and initiate scripts optimized for 5-minute videos, all while maintaining a friendly tone.
Overview
The application is built using Streamlit and the langchain library, creating an interactive user interface where users can input YouTube video topics and tags. The application generates title suggestions based on the input topic, allows users to select a title, input tags, and then generates a script incorporating the selected title, tags, and Wikipedia research related to the title.
Features
- YouTube Topic Input: Accepts user-input YouTube video topics to generate content suggestions.
- Title Suggestions Generation: Generates five engaging content suggestions using OpenAI's language models and displays them for user selection.
- Tags Input: Allows users to input tags for the script generation.
- Script Generation: Generates an engaging script incorporating the selected title, tags, and Wikipedia research.
- Interactive User Interface: Utilizes Streamlit for an interactive and user-friendly experience.
Prerequisites
- Python 3.x
- Streamlit
- OpenAI API Key
- langchain library
Setup and Installation
Clone the repository:
git clone https://github.com/omid-sar/YouTube-Assistant-LangChain.git
cd YouTube-GPT-Creator
Install the required libraries:
pip install -r requirements.txt
Set up your OpenAI API key as an environment variable:
export OPENAI_API_KEY=your_api_key_here
Usage
Run the Streamlit app:
streamlit run app.py
Open the app in your web browser, input the YouTube video topic and tags. Select a title from the generated suggestions and submit to generate and view the script based on the selected title, tags, and Wikipedia research.
Testing on Hugging Face Spaces
You can also test the application on Hugging Face Spaces by visiting YouTube Context Explorer. Follow the same usage steps to generate YouTube video scripts.
License
This project is licensed under the MIT License - see the LICENSE file for details.