Actualiser main.py

This commit is contained in:
Francois Pelletier 2024-02-19 00:17:05 +00:00
parent 6a947b8792
commit 50676b76d5

View file

@ -13,7 +13,7 @@ class TranslationResponse(BaseModel):
text: str
@app.get("/corriger")
@app.post("/corriger")
def translate(request: TranslationRequest):
# Implement Point-Median algorithm here
texte = request.text