mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-29 10:56:22 +02:00
feat: + pic2txt
This commit is contained in:
parent
5f55590a57
commit
dcb76de45e
6 changed files with 55 additions and 19 deletions
|
|
@ -13,11 +13,11 @@ async def test_pic2txt(context):
|
|||
TEST_DATA_PATH / "requirements/pic/3.png",
|
||||
]
|
||||
textual_user_requirements = await aread(filename=TEST_DATA_PATH / "requirements/1.original_requirement.txt")
|
||||
acknowledge = await aread(filename=TEST_DATA_PATH / "requirements/1.acknowledge.md")
|
||||
|
||||
action = Pic2Txt(context=context)
|
||||
rsp = await action.run(
|
||||
image_paths=images, textual_user_requirement=textual_user_requirements, acknowledge=acknowledge
|
||||
image_paths=images,
|
||||
textual_user_requirement=textual_user_requirements,
|
||||
)
|
||||
assert rsp
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue