Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

🐸 FrogBase

Create navigable knowledge from multi-media content

FrogBase (previously whisper-ui) simplifies the download-transcribe-embed-index workflow for multi-media content. It does so by linking content from various platforms (yt_dlp) with speech-to-text models (OpenAI's Whisper), image & text encoders (SentenceTransformers), and embedding stores (hnswlib).

⚠️ Warning: This is currently a pre-release version and is known to be very unstable. For stable releases, please use any 1.x versions.

from frogbase import FrogBase
fb = FrogBase()
fb.demo()
fb.search("What is the name of the squeaky frog?")

Full Documentation (WIP).

FrogBase also comes with a ready-to-use UI for non-technical users!

https://user-images.githubusercontent.com/6735526/216852681-53b6c3db-3e74-4c86-806f-6f6774a9003a.mp4

PyPI Status Python Version License

Features

FrogBase currently provides functionality to:

  • Download media files from a wide range of platforms (YouTube, TikTok, Vimeo, etc.) using yt_dlp
  • Transcribe audio streams for downloaded & local files using OpenAI's Whisper
  • Embed transcribed text from corresponding video segments using Sentence Transformers
  • Index & search the embedded content using hnswlib

FrogBase also includes a Streamlit UI to provide a simple GUI for the above functionality enabling a locally hosted, interactive experience.

Quickstart

Software Developers

This section is for software developers who want to use FrogBase as a python package.

  1. Install ffmpeg and FrogBase

    sudo apt install ffmpeg
    pip install frogbase
    
  2. Import FrogBase and use it as follows -

    from frogbase import FrogBase
    
    fb = FrogBase()
    
    sources = [
       "https://www.youtube.com/watch?v=HBxn56l9WcU",
       "https://www.youtube.com/@hayabhay"
    ]
    
    fb.add(sources)
    
    fb.search("What is the name of the squeaky frog?")
    

Non-technical Users

This section is for non-technical users who want to use FrogBase primarily through the accompanying Streamlit UI.

  1. Download the latest release of FrogBase from here and unzip it. Or, you can also clone the repository console git clone https://github.com/hayabhay/frogbase.git

  2. Install FrogBase dependencies manually and run the UI.

    Note: This also requires ffmpeg to be installed on your system. You can install it using sudo apt install ffmpeg on Ubuntu.

    1. Using pip

      pip install frogbase streamlit
      streamlit run ui/01_🏠_Home.py
      

[Coming soon] Instructions, environment for installation using Docker & Anaconda

Links

Metadata

Release files for frogbase 2.0.0a4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for frogbase 2.0.0a4
File Size Uploaded
frogbase-2.0.0a4.tar.gz 27.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for frogbase 2.0.0a4
File Interpreter ABI Platform
frogbase-2.0.0a4-py3-none-any.whl Python 3 none any Details

Total release size: 55.1 kB

Release files / frogbase-2.0.0a4.tar.gz

Download URL frogbase-2.0.0a4.tar.gz
Size 27.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3ac56b0b1cd2f0c28e14ec866fd0ff3482885eecea8f80acd2dcc37336f4b27f
BLAKE2b-256 checksum
How to use checksums
90a4605793e19ed48f8375d3203be5e22d6c70deb2c5a116021672a130fa8748
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.4 Linux/6.2.0-26-generic

Release files / frogbase-2.0.0a4-py3-none-any.whl

Download URL frogbase-2.0.0a4-py3-none-any.whl
Size 27.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f46710aebe2112a5fabff4160d5c5a59673f1c4df0ded7a12e06f0251a2ff88a
BLAKE2b-256 checksum
How to use checksums
d6477a80f6722207d6bc22f1fa50d003083b9bf5cb1f0f81c555f29c81f24745
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.11.4 Linux/6.2.0-26-generic
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page