update:change text_to_image default size 1024x1024

This commit is contained in:
zhanglei 2024-04-02 21:23:19 +08:00
parent 864c10ca31
commit e6b7ae8a2b
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ from metagpt.tools.openai_text_to_image import oas3_openai_text_to_image
from metagpt.utils.s3 import S3
async def text_to_image(text, size_type: str = "512x512", openai_api_key="", model_url="", **kwargs):
async def text_to_image(text, size_type: str = "1024x1024", openai_api_key="", model_url="", **kwargs):
"""Text to image
:param text: The text used for image conversion.

View file

@ -57,7 +57,7 @@ extras_require["dev"] = (["pylint~=3.0.3", "black~=23.3.0", "isort~=5.12.0", "pr
setup(
name="metagpt",
version="0.6.10",
version="0.6.11",
description="The Multi-Agent Framework",
long_description=long_description,
long_description_content_type="text/markdown",