Can't Install Git Repo

I can’t install a git repository using custom inference handler.

I have specified the repo url in the requirements.txt file as follows:
git+https://github.com/tencent-ailab/IP-Adapter.git

But when I instantiate the model:
self.ip_model = IPAdapter(pipe, image_encoder_path, ip_ckpt, device)

I encounter the following error:
'IPAdapter' object is not callable