RWKV: Fix typo

This commit is contained in:
somebody
2023-03-13 19:36:58 -05:00
parent b10b201701
commit 14b2543c7c

View File

@@ -139,7 +139,7 @@ class RWKVInferenceModel(InferenceModel):
# Download model if we need to
model_path = os.path.join(model_dir, MODEL_FILES[self.model_name])
if not os.path.exists(model_path):
self.download_model(self, model_path, model_class)
self._download_model(self, model_path, model_class)
# Now we load!