Ivan Shanin

Results 9 comments of Ivan Shanin

Ubuntu 24.04 I have same issue. Part of the log: error: [obs-backgroundremoval] /onnxruntime_src/onnxruntime/core/session/provider_bridge_ort.cc:1209 onnxruntime::Provider& onnxruntime::ProviderLibrary::Get() [ONNXRuntimeError] : 1 : FAIL : Failed to load library libonnxruntime_providers_tensorrt.so with error: libnvinfer.so.8: cannot...

> What version of CUDA do you have? 12.2

> CUDA 12 is not supported. Can you try CUDA 11? I would try it if I could find a way to downgrade the version

If you’re encountering a “Missing CSRF token” error on routes protected with the `access_token_required` dependency that use the `POST` method, it’s likely that CSRF protection is required by default for...

@qellyka can you send the code you use to test the endpoint?

> create database > > ```python > > @app.post("/setup_db", summary="Creates a new database", tags=["The database"], dependencies=[Depends(security.access_token_required)]) > > async def setup_db(): > > async with engine.begin() as conn: > >...

> I use the documentation built into FastApi, which is available at 127.0.0.1:8000/docs You must specify the csrf token in request header taken from the cookie. I do not know...

> Then why does everything work for [him](https://github.com/artemonsh/fastapi-course/tree/5_authorization) if he uses Swagger UI like me? in its protected route the GET method is used. ``` @app.get("/protected", dependencies=[Depends(security.access_token_required)]) ``` As I...