Skip to content

Commit

Permalink
rename endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Davidqian123 committed Dec 17, 2024
1 parent cdacf08 commit d9816bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nexa/gguf/server/nexa_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -995,8 +995,8 @@ async def process_audio(
if 'temp_audio_path' in locals() and os.path.exists(temp_audio_path):
os.unlink(temp_audio_path)

@app.post("/v1/audio/transcriptions_stream", tags=["Audio"])
async def transcribe_stream_audio(
@app.post("/v1/audio/processing_stream", tags=["Audio"])
async def processing_stream_audio(
file: UploadFile = File(...),
task: str = Query("transcribe",
description="Task to perform on the audio. Options are: 'transcribe' or 'translate'.",
Expand Down

0 comments on commit d9816bb

Please sign in to comment.