Skip to content

Commit

Permalink
fix: address comment
Browse files Browse the repository at this point in the history
Co-authored-by: samsja <[email protected]>
  • Loading branch information
numb3r3 and samsja authored Jun 1, 2022
1 parent ce0062c commit c3926ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/clip_server/executors/clip_torch.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def _preproc_images(self, docs: 'DocumentArray'):
return_np=False,
)

@monitor(name='preprocess_texts')
@monitor(name='preprocess_texts_seconds')
def _preproc_texts(self, docs: 'DocumentArray'):
return preproc_text(docs, device=self._device, return_np=False)

Expand Down

0 comments on commit c3926ec

Please sign in to comment.