diff --git a/src/agentscope/models/stablediffusion_model.py b/src/agentscope/models/stablediffusion_model.py index 2ab32d467..1d5d20f54 100644 --- a/src/agentscope/models/stablediffusion_model.py +++ b/src/agentscope/models/stablediffusion_model.py @@ -3,8 +3,6 @@ from abc import ABC from typing import Any, Union, Sequence -from loguru import logger - try: import webuiapi except ImportError: @@ -66,7 +64,6 @@ def __init__( # Set options if provided if options: self.api.set_options(options) - logger.info(f"Set webui options: {options}") # Get the default model name from the web-options model_name = ( @@ -97,7 +94,7 @@ def __call__( Args: prompt (`str`): The prompt string to generate images from. - save_local (`bool`, default `False`): + save_local (`bool`, default `True`): Whether to save the generated images locally. **kwargs (`Any`): The keyword arguments to SD-webui txt2img API, e.g.