FastAPI route /api/match использует file: UploadFile = File(...). При импорте app.routes.match (через 'import app.main') FastAPI вызывает ensure_multipart_is_installed() и падает с RuntimeError, если python-multipart не установлен. Добавил в requirements.txt.
This commit is contained in:
1 parent
ce4bfd3f0b
commit
2d1ffa5aef
1 file changed
+1
@@ -53,6 +53,7 @@ let
|
||||
numpy==2.2.1
|
||||
pandas==2.3.3
|
||||
openpyxl==3.1.5
|
||||
python-multipart==0.0.20
|
||||
sentence-transformers==3.3.1
|
||||
transformers==4.47.1
|
||||
huggingface-hub==0.27.0
|
||||
|
||||
Reference in new issue
Block a user