diff options
Diffstat (limited to 'gpt4free/quora/__init__.py')
-rw-r--r-- | gpt4free/quora/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gpt4free/quora/__init__.py b/gpt4free/quora/__init__.py index 31526e0c..f548ff41 100644 --- a/gpt4free/quora/__init__.py +++ b/gpt4free/quora/__init__.py @@ -377,10 +377,10 @@ class Poe: raise RuntimeError('Sorry, the model you provided does not exist. Please check and try again.') self.model = MODELS[model] self.cookie_path = cookie_path - self.cookie = self.__load_cookie(driver, download_driver, driver_path=driver_path) + self.cookie = self.__load_cookie(driver, driver_path=driver_path) self.client = PoeClient(self.cookie) - def __load_cookie(self, driver: str, download_driver: bool, driver_path: Optional[str] = None) -> str: + def __load_cookie(self, driver: str, driver_path: Optional[str] = None) -> str: if (cookie_file := Path(self.cookie_path)).exists(): with cookie_file.open() as fp: cookie = json.load(fp) @@ -468,4 +468,4 @@ class Poe: print(f'Successfully created bot with name: {response["bot"]["displayName"]}') def list_bots(self) -> list: - return list(self.client.bot_names.values())
\ No newline at end of file + return list(self.client.bot_names.values()) |