chore: use starlette built-in Route class

Use a more common pattern and known terminology from the ecosystem,
where Route is more approved than Endpoint.

Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
Sébastien Han 2025-05-26 15:19:30 +02:00
parent 4f3f28f718
commit 9472c1090e
No known key found for this signature in database
7 changed files with 131 additions and 72 deletions

View file

@ -21,6 +21,7 @@ classifiers = [
"Topic :: Scientific/Engineering :: Information Analysis",
]
dependencies = [
"aiohttp",
"fire",
"httpx",
"huggingface-hub",
@ -35,6 +36,7 @@ dependencies = [
"requests",
"rich",
"setuptools",
"starlette",
"termcolor",
"tiktoken",
"pillow",