Merge branch 'code_intepreter' of https://gitlab.deepwisdomai.com/agents/data_agents_opt into code_intepreter

update example of sd_tool_usage
This commit is contained in:
stellahsr 2024-01-12 16:51:49 +08:00
commit 75134d205d
10 changed files with 179 additions and 77 deletions

View file

@ -13,7 +13,9 @@ async def main(requirement: str = ""):
if __name__ == "__main__":
sd_url = 'http://106.75.10.65:19094'
requirement = f"I want to generate an image of a beautiful girl using the stable diffusion text2image tool, sd_url={sd_url}"
sd_url = "http://106.75.10.65:19094"
requirement = (
f"I want to generate an image of a beautiful girl using the stable diffusion text2image tool, sd_url={sd_url}"
)
asyncio.run(main(requirement))