mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-18 20:27:58 +00:00
changed requirements
This commit is contained in:
parent
5d71c4dff8
commit
4201168c21
@ -8,7 +8,7 @@ from lollms.paths import LollmsPaths
|
||||
from lollms.config import BaseConfig
|
||||
#from lollms.binding import LLMBinding
|
||||
import shutil
|
||||
import urllib
|
||||
import urllib.request as rq
|
||||
from tqdm import tqdm
|
||||
from pathlib import Path
|
||||
|
||||
@ -160,7 +160,7 @@ class LOLLMSConfig(BaseConfig):
|
||||
progress_bar.update(block_size)
|
||||
# Download file from URL to folder
|
||||
try:
|
||||
urllib.request.urlretrieve(url, folder_path / url.split("/")[-1], reporthook=report_progress if callback is None else callback)
|
||||
rq.urlretrieve(url, folder_path / url.split("/")[-1], reporthook=report_progress if callback is None else callback)
|
||||
print("File downloaded successfully!")
|
||||
except Exception as e:
|
||||
print("Error downloading file:", e)
|
||||
|
4
setup.py
4
setup.py
@ -26,7 +26,7 @@ def get_all_files(path):
|
||||
|
||||
setuptools.setup(
|
||||
name="lollms",
|
||||
version="2.0.27",
|
||||
version="2.0.30",
|
||||
author="Saifeddine ALOUI",
|
||||
author_email="aloui.saifeddine@gmail.com",
|
||||
description="A python library for AI personality definition",
|
||||
@ -45,7 +45,7 @@ setuptools.setup(
|
||||
},
|
||||
extras_require={"dev": requirements_dev},
|
||||
classifiers=[
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"License :: OSI Approved :: Apache Software License",
|
||||
"Operating System :: OS Independent",
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user