Skip to content

ayoub-aberbach/ai_transcriber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Audio Transcriber with AI

A simple REST API that transcribes audio files using AI-powered Speech-to-Text technology.

Installation

1. Set Up Environment Variables

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

2. Install Dependencies

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

3. Start the Server

Run the following command to start the FastAPI server:

uvicorn main:app --reload

Project Structure

project-folder/
│── uploads/              # Directory for storing audio files
│── main.py               # Main FastAPI application
│── .env                  # API keys and environment variables
│── requirements.txt      # Python dependencies

Releases

No releases published

Packages

No packages published

Languages