| title | emoji | colorFrom | colorTo | sdk | sdk_version | app_file | pinned | license |
|---|---|---|---|---|---|---|---|---|
Youtube QA |
🐨 |
yellow |
purple |
gradio |
3.50.2 |
app.py |
false |
apache-2.0 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
-
Install Python: Download and install Python from the official website. Make sure to check the box that says "Add Python to PATH" during the installation.
-
Verify Python Installation: Open a new terminal window and run the command
python --version. You should see Python's version number. -
Install Virtualenv: Run the command
pip install virtualenvto install the virtualenv package. This package allows you to create isolated Python environments. -
Create a New Virtual Environment: Navigate to your project directory and run the command
python -m venv envto create a new virtual environment in a folder named "env". -
Activate the Virtual Environment: Run the command
source env/bin/activate(on Linux/macOS) or.\env\Scripts\activate(on Windows) to activate the virtual environment.
This project requires the following dependencies:
- pytube
- openai
To install these dependencies, run the command pip install -r requirements.txt in your terminal.
After setting up your environment and installing dependencies, you can run the application with the command python app.py.