This commit is contained in:
wailovet
2024-06-28 00:24:25 +08:00
parent 9602e6f5f8
commit 108106df51
+7
View File
@@ -318,6 +318,13 @@ def check_required():
sys.executable, "-m", "pip", "install", "diffusers"
], check=True)
try:
import transformers
except Exception as e:
subprocess.run([
sys.executable, "-m", "pip", "install", "transformers"
], check=True)
def MZ_HYDiTTrain_call(args={}):