diff --git a/client/clip_client/client.py b/client/clip_client/client.py index a0ad23b3f..04ef62716 100644 --- a/client/clip_client/client.py +++ b/client/clip_client/client.py @@ -193,7 +193,7 @@ def _get_post_payload(self, content, kwargs): model_name = parameters.get('model', '') endpoint = f'/encode/{model_name}' payload = dict( - on=endpoint, + on=f'/encode/{model_name}', inputs=self._iter_doc(content), request_size=kwargs.get('batch_size', 8), total_docs=len(content) if hasattr(content, '__len__') else None,