Already test it on forge and AUTOMATIC1111 and find no problem.
In the definitions.py file, I modified the default_params method of the Worker class to ensure values is a dictionary before assigning to its "params" key. If values is a list, it is converted into a dictionary where the list indices serve as dictionary keys and list values as dictionary values. This resolves the TypeError: list indices must be integers or slices, not str error.
resolve #197
Already test it on
forge
andAUTOMATIC1111
and find no problem.In the
definitions.py
file, I modified the default_params method of the Worker class to ensure values is a dictionary before assigning to its "params" key. If values is a list, it is converted into a dictionary where the list indices serve as dictionary keys and list values as dictionary values. This resolves theTypeError: list indices must be integers or slices, not str error
.