update config.yaml and vision.py for configuration of vision

This commit is contained in:
mannaandpoem 2024-01-15 12:57:36 +08:00
parent 38929dc124
commit 841f69d5ed
3 changed files with 5 additions and 13 deletions

View file

@ -9,7 +9,7 @@ from metagpt.roles.code_interpreter import CodeInterpreter
async def main():
web_url = 'https://www.baidu.com/'
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.