We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69e5294 commit f305116Copy full SHA for f305116
surya/recognition/__init__.py
@@ -115,7 +115,7 @@ def get_encoder_chunk_size(self) -> int:
115
if settings.RECOGNITION_CHUNK_SIZE is not None:
116
return settings.RECOGNITION_CHUNK_SIZE
117
118
- chunk_size = settings.encoder_chunk_size
+ chunk_size = self.encoder_chunk_size
119
if settings.TORCH_DEVICE_MODEL in self.encoder_chunk_sizes:
120
121
chunk_size = self.encoder_chunk_sizes[settings.TORCH_DEVICE_MODEL]
0 commit comments