Skip to content

Theyka/python-whisper-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Prerequisites

Installation

  1. Download Python 3.10, FFmpeg and Whisper pip install git+https://github.com/openai/whisper.git

  2. Clone the repo

    git clone https://github.com/Theyka/python-whisper-api.git
    
  3. Install python libraries

    pip install -r requirements.txt
    
  4. Start python code

    python main.py
    

Usage

import requests

with open('audio.mp3', 'rb') as f:
    r = requests.post('http://localhost/whisper', files={'audio': f})
    print(r.text)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages