Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Commit

Permalink
update transcribe endpoint to match audio/transcriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
YrrepNoj committed Oct 31, 2023
1 parent 9c51aba commit 802c7c0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion backends/openai/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def read_chunks(file: BinaryIO, chunk_size: int) -> Iterator[leapfrogai.AudioReq
yield leapfrogai.AudioRequest(chunk_data=chunk)


@router.post("/transcribe")
@router.post("/audio/transcriptions")
async def transcribe(
model_config: Annotated[Config, Depends(get_model_config)],
req: CreateTranscriptionRequest = Depends()
Expand Down
2 changes: 1 addition & 1 deletion chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.4.0
version: 0.4.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
8 changes: 4 additions & 4 deletions zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ kind: ZarfPackageConfig
metadata:
name: leapfrogai-api
description: "LeapfrogAI"
version: 0.4.0
version: 0.4.1
architecture: amd64

constants:
- name: LEAPFROGAI_API_VERSION
value: "0.4.0"
value: "0.4.1"
- name: KIWIGRID_VERSION
value: "1.23.3"

Expand All @@ -30,9 +30,9 @@ components:
- name: leapfrogai
namespace: leapfrogai
localPath: chart
version: 0.4.0
version: 0.4.1
valuesFiles:
- "lfai-values.yaml"
images:
- "ghcr.io/defenseunicorns/leapfrogai/leapfrogai-api:0.4.0"
- "ghcr.io/defenseunicorns/leapfrogai/leapfrogai-api:0.4.1"
- "registry1.dso.mil/ironbank/kiwigrid/k8s-sidecar:1.23.3"

0 comments on commit 802c7c0

Please sign in to comment.