TheLastBen/PPS

Error loading script: composable_lora_script.py

banMo88 opened this issue · 1 comments

Error loading script: composable_lora_script.py
Traceback (most recent call last):
File "/notebooks/sd/stable-diffusion-webui/modules/scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/notebooks/sd/stable-diffusion-webui/modules/script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/notebooks/sd/stable-diffusion-webui/extensions/stable-diffusion-webui-composable-lora/scripts/composable_lora_script.py", line 7, in
import composable_lora
File "/notebooks/sd/stable-diffusion-webui/extensions/stable-diffusion-webui-composable-lora/composable_lora.py", line 4, in
import composable_lora_step
File "/notebooks/sd/stable-diffusion-webui/extensions/stable-diffusion-webui-composable-lora/composable_lora_step.py", line 194, in
class LoRA_StartEnd_Controller(LoRA_Controller_Base):
File "/notebooks/sd/stable-diffusion-webui/extensions/stable-diffusion-webui-composable-lora/composable_lora_step.py", line 195, in LoRA_StartEnd_Controller
def init(self, name : str, weight : float, start : float | int, end : float | int):
TypeError: unsupported operand type(s) for |: 'type' and 'type'

The problem is that the python version on Paperspace is not enough.