Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't download the Models #26

Open
ainfosecchimp opened this issue May 27, 2024 · 0 comments
Open

can't download the Models #26

ainfosecchimp opened this issue May 27, 2024 · 0 comments

Comments

@ainfosecchimp
Copy link

line 1243 in ..\LOLMS\installer_files\lollms_env\Lib\httpcleint.py - causes a 403 error when downloading the model. just hashing out the section like below causes the system to work perfectly.

def _validate_path(self, url):
    """Validate a url for putrequest."""
    # Prevent CVE-2019-9740.
    # hashed out by tim smith 27/05/24
    #match = _contains_disallowed_url_pchar_re.search(url)
    #if match:
    #    raise InvalidURL(f"URL can't contain control characters. {url!r} "
    #                     f"(found at least {match.group()!r})")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant