A simple REST API that transcribes audio files using AI-powered Speech-to-Text technology.
Create a .env
file in the project root and add your GROQ API key from here https://console.groq.com/playground:
GROQ_API_KEY=your_api_key_here
Run the following commands in the project folder:
py -m venv venv
source venv/bin/activate # On Windows use: venv\Scripts\activate
pip install -r requirements.txt
Run the following command to start the FastAPI server:
uvicorn main:app --reload
project-folder/
│── uploads/ # Directory for storing audio files
│── main.py # Main FastAPI application
│── .env # API keys and environment variables
│── requirements.txt # Python dependencies