robertgv / chatgpt-aws

How to create the smartest multilingual Virtual Assistant using AWS and ChatGPT
MIT License
26 stars 7 forks source link

Use the OpenAI Whisper instead of Amazon Transcribe #2

Open khalilgharbaoui opened 1 year ago

khalilgharbaoui commented 1 year ago

Would it not be beneficial to use OpenAI's Whisper instead of Amazon Transcribe?

Maybe if that is done right there wont be a need for the S3 Buckets as well

Wav > OpenAI Whisper > OpenAI ChatGPT > Amazon Polly > Mp3

Instead of:

Wav > S3 Bucket > Amazon Transcribe > S3 Bucket > OpenAI ChatGPT > Amazon Polly > Mp3

Maybe some thoughts or/and ideas on this would be nice?

michael7908 commented 1 year ago

I think your idea is a great one while installing Whisper on a local machine or Cloud is somewhat challenging... Alas.

khalilgharbaoui commented 1 year ago

True, although it can be dockerized since the model is relatively small 🤔 (i came across this: https://lablab.ai/t/whisper-api-flask-docker) then deployed as an API endpoint somewhere like https://fly.io A little bit more hands on... but maybe cheaper, maybe not 😅

Cheers