Skip to content

Commit

Permalink
#60 updated readme and requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
sethu committed Dec 28, 2024
1 parent 448645d commit 4cb8070
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ google-api-python-client
python-dotenv
whisper-timestamped
silero-vad
fastapi_versionizer
fastapi_versionizerß
32 changes: 29 additions & 3 deletions service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ For Windows:

https://ollama.com/download/OllamaSetup.exe

Llama 3.1 model
Llama 3.2 model

ollama run llama3.1
ollama run llama3.2

Setup Clone this github repository git clone

Expand Down Expand Up @@ -52,7 +52,7 @@ uri: "/docs"
method: "GET"
description: swagger ui for api testing

uri: "/upload-audio
uri: "/v1/upload-audio
mehtod: "POST"
Content-Type: application/json
body: {
Expand All @@ -69,6 +69,32 @@ errorResponse: {
}
errorStatusCode: 500

uri: "/latest/upload-audio
mehtod: "POST"
Content-Type: application/json
body: {
audio_file_link: saved audio file link (types accepted: 'm4a', 'mp4','mp3','webm','mpga','wav','mpeg')
}
successResponse:
{
"message": "File processed successfully!",
"translation": transaction,
"segments": [
{
"start": float,
"end": float,
"text": text
},

],
"summary": text
}
successStatusCode: 200
errorResponse: {
message: Error message
}
errorStatusCode: 500

# exit virtual env

deactivate

0 comments on commit 4cb8070

Please sign in to comment.