yt_linkedin_post / README.md
Shipmaster1's picture
Update README.md
296a442 verified

A newer version of the Gradio SDK is available: 6.6.0

Upgrade
metadata
title: YouTube to LinkedIn Post Converter
emoji: πŸŽ₯
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.29.0
app_file: app.py
pinned: false
license: mit

YouTube to LinkedIn Post Converter

This application converts YouTube video content into professional LinkedIn posts using AI-powered content enhancement and RAGAS evaluation metrics.

Features

  • πŸŽ₯ YouTube transcript extraction
  • ✨ AI-powered content enhancement
  • πŸ“Š RAGAS evaluation metrics
  • πŸ”„ Automatic content verification
  • πŸ“± Professional LinkedIn post formatting

Models

The application uses three embedding models for comparison:

  • OpenAI's text-embedding-3-small
  • Base MPNet (sentence-transformers/all-mpnet-base-v2)
  • Fine-tuned MPNet (Shipmaster1/finetuned_mpnet_matryoshka_mnr)

Evaluation Metrics

  • Faithfulness: How well answers align with context
  • Answer Relevancy: How relevant answers are to questions
  • Context Recall: How well context covers required information
  • Context Precision: How focused and precise the context is

Usage

  1. Enter a YouTube URL
  2. Wait for transcript extraction
  3. Review enhanced content
  4. Get your professional LinkedIn post

Installation

pip install -r requirements.txt
python app.py

License

MIT License