File "test.py", line 11, in <module>
cookies = sign.login(cookie_dir_path=cookie_path_dir, save_cookies=True)
File "/opt/miniconda3/envs/dev/lib/python3.10/site-packages/hugchat/login.py", line 48, in login
if self._grant_auth(location):
File "/opt/miniconda3/envs/dev/lib/python3.10/site-packages/hugchat/login.py", line 182, in _grant_auth
res = self._request_get(location, allow_redirects=False)
File "/opt/miniconda3/envs/dev/lib/python3.10/site-packages/hugchat/login.py", line 107, in _request_get
res = requests.get(
File "/opt/miniconda3/envs/dev/lib/python3.10/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
File "/opt/miniconda3/envs/dev/lib/python3.10/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/opt/miniconda3/envs/dev/lib/python3.10/site-packages/requests/sessions.py", line 575, in request
prep = self.prepare_request(req)
File "/opt/miniconda3/envs/dev/lib/python3.10/site-packages/requests/sessions.py", line 484, in prepare_request
p.prepare(
File "/opt/miniconda3/envs/dev/lib/python3.10/site-packages/requests/models.py", line 367, in prepare
self.prepare_url(url, params)
File "/opt/miniconda3/envs/dev/lib/python3.10/site-packages/requests/models.py", line 438, in prepare_url
raise MissingSchema(
requests.exceptions.MissingSchema: Invalid URL