mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-19 20:57:58 +00:00
upgraded
This commit is contained in:
parent
ec2d3a9113
commit
af27856ce6
@ -19,7 +19,6 @@ import shutil
|
|||||||
|
|
||||||
from typing import List, Optional
|
from typing import List, Optional
|
||||||
|
|
||||||
from PIL import Image
|
|
||||||
import requests
|
import requests
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
import base64
|
import base64
|
||||||
@ -40,6 +39,10 @@ import subprocess
|
|||||||
|
|
||||||
from functools import partial
|
from functools import partial
|
||||||
|
|
||||||
|
import pipmaster as pm
|
||||||
|
if not pm.is_installed("Pillow"):
|
||||||
|
pm.install("Pillow")
|
||||||
|
from PIL import Image
|
||||||
|
|
||||||
def create_env(env_name, python_version):
|
def create_env(env_name, python_version):
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user