mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-09-17 20:23:29 +00:00
fix: Fix type in FARMReader's save_to_remote (#3952)
This commit is contained in:
parent
b945eaeabd
commit
addebcd256
@ -744,7 +744,7 @@ class FARMReader(BaseReader):
|
|||||||
self.inferencer.processor.save(directory)
|
self.inferencer.processor.save(directory)
|
||||||
|
|
||||||
def save_to_remote(
|
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:
|
Saves the Reader model to Hugging Face Model Hub with the given model_name. For this to work:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user