mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-26 09:16:21 +02:00
fixbug: unit test
This commit is contained in:
parent
0821e6d099
commit
4fe3d6e879
2 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ def oas3_metagpt_text_to_image(text, size_type: str = "512x512", model_url=""):
|
|||
if __name__ == "__main__":
|
||||
initialize_environment()
|
||||
|
||||
v = oas3_metagpt_text_2_image("Panda emoji")
|
||||
v = oas3_metagpt_text_to_image("Panda emoji")
|
||||
data = base64.b64decode(v)
|
||||
with open("tmp.png", mode="wb") as writer:
|
||||
writer.write(data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue