Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.12.0
metadata
title: MSDSF25M004_ver2
emoji: π¬
colorFrom: green
colorTo: blue
sdk: gradio
sdk_version: 5.23.0
app_file: app.py
pinned: false
Version 2 β Website Scraper + YouTube Transcript Q&A Bot
This Gradio app has two tabs:
- Tab 1: Website Scraper β Scrape bot-protected websites using Bright Data Web Unlocker and ask questions about the content
- Tab 2: YouTube Transcript Q&A β Enter a YouTube Video ID to fetch its transcript and ask questions about the video
Features
- Bright Data Web Unlocker for CAPTCHA/bot-protected scraping
- YouTube Transcript API for fetching video transcripts
- Groq Cloud LLM for intelligent Q&A
- Tabbed Gradio interface for easy navigation
Setup
Set environment variables (or Secrets on HF Spaces):
GROQ_API_KEYβ Your Groq Cloud API keyBRIGHT_DATA_USERNAMEβ Your Bright Data usernameBRIGHT_DATA_PASSWORDβ Your Bright Data password
Install and run:
pip install -r requirements.txt python app.py