diff --git a/haystack/nodes/reader/farm.py b/haystack/nodes/reader/farm.py index c018e4fac..6f8725ba7 100644 --- a/haystack/nodes/reader/farm.py +++ b/haystack/nodes/reader/farm.py @@ -744,7 +744,7 @@ class FARMReader(BaseReader): self.inferencer.processor.save(directory) def save_to_remote( - self, repo_id: str, private: Optional[bool] = None, commit_message: str = "Add new model to Hugging Face." + self, repo_id: str, private: bool = False, commit_message: str = "Add new model to Hugging Face." ): """ Saves the Reader model to Hugging Face Model Hub with the given model_name. For this to work: