mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
reduce mandatory requirements
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ def run_modelmerger(id_task, **kwargs): # pylint: disable=unused-argument
|
||||
from installer import install
|
||||
install('tensordict', quiet=True)
|
||||
try:
|
||||
from tensordict import TensorDict
|
||||
from tensordict import TensorDict # pylint: disable=unused-import
|
||||
except Exception as e:
|
||||
shared.log.error(f"Merge: {e}")
|
||||
return [*[gr.update() for _ in range(4)], "tensordict not available"]
|
||||
|
||||
Reference in New Issue
Block a user