adeelkhan47 / AI_Squad_poc

0 stars 0 forks source link

AI Squad POC Translator

Speech To Text Endpoint

Endpoint:

/detector/speechtotext

Requirements:

Create virtual environment and install libraries.


python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt

It also requires the command-line tool ffmpeg to be installed on your system, which is available from most package managers:

# on Ubuntu or Debian
sudo apt update && sudo apt install ffmpeg

# on Arch Linux
sudo pacman -S ffmpeg

# on MacOS using Homebrew (https://brew.sh/)
brew install ffmpeg

# on Windows using Chocolatey (https://chocolatey.org/)
choco install ffmpeg

# on Windows using Scoop (https://scoop.sh/)
scoop install ffmpeg

You may need rust installed as well.

pip install setuptools-rust

Swagger UI Field: