speaches_demo / README.md
storytracer's picture
Update README.md
a976fbf verified
metadata
title: Speaches Demo
emoji: 🎙️
sdk: docker
license: mit
short_description: Speaches demo
preload_from_hub:
  - Systran/faster-whisper-medium.en
  - Systran/faster-whisper-medium
  - Systran/faster-whisper-base.en
  - Systran/faster-whisper-base
  - Systran/faster-whisper-small.en
  - Systran/faster-whisper-small
  - Systran/faster-whisper-tiny.en
  - Systran/faster-whisper-tiny
  - Systran/faster-whisper-large-v3
  - hexgrad/Kokoro-82M

Speaches.ai Demo

Speaches.ai demo for the Mozilla AI Speech-to-Text Blueprint

By default the demo throws a 301 HTTP error when run on a HF Space, because HTTP requests are redirected to HTTPS by HF. This can be solved by setting the LOOPBACK_HOST_URL environment variable to the HF Space URL. Speaches uses this var in its config to set the base URL for requests.

Here is the sample setting for this particular HF space: LOOPBACK_HOST_URL=https://storytracer-speaches-demo.hf.space. It is set through the HF Space settings. You might also be able to set it in the Dockerfile directly, but that will break the Dockerfile if someone else clones your space.