update sd ut

This commit is contained in:
stellahsr 2024-01-31 16:03:16 +08:00
parent d60a4c1cdb
commit d74dab9bec
3 changed files with 63 additions and 21 deletions

View file

@ -9,7 +9,7 @@ from metagpt.roles.code_interpreter import CodeInterpreter
async def main():
web_url = 'https://pytorch.org/'
web_url = "https://pytorch.org/"
prompt = f"""This is a URL of webpage: '{web_url}' .
Firstly, utilize Selenium and WebDriver for rendering.
Secondly, convert image to a webpage including HTML, CSS and JS in one go.
@ -20,7 +20,7 @@ Note: All required dependencies and environments have been fully installed and c
await ci.run(prompt)
if __name__ == '__main__':
if __name__ == "__main__":
import asyncio
asyncio.run(main())