Skip to content

Commit

Permalink
chore: deduplicate route from /classifier/classifier to /classifier/c…
Browse files Browse the repository at this point in the history
…lassify
  • Loading branch information
luandro committed Nov 28, 2024
1 parent 7f1ef02 commit e0853e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/ai_api/eda_ai_api/api/routes/classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def process_decision(decision: str, message: str) -> Dict[str, Any]:
return {"error": f"Unknown decision type: {decision}"}


@router.post("/classifier", response_model=ClassifierResponse)
@router.post("/classify", response_model=ClassifierResponse)
async def classifier_route(
message: Optional[str] = Form(default=None),
audio: Optional[UploadFile] = File(default=None),
Expand Down

0 comments on commit e0853e0

Please sign in to comment.