lint mm agent to omnimodal playground

pull/378/head
evelynmitchell 1 year ago
parent 78d4588955
commit a9356a8c10

@ -1,8 +1,10 @@
from swarms.agents import MultiModalAgent """ Example of using the MultiModalAgent """
from swarms.agents import OmniModalAgent
load_dict = {"ImageCaptioning": "cuda"} load_dict = {"ImageCaptioning": "cuda"}
node = MultiModalAgent(load_dict) node = OmniModalAgent(load_dict)
text = node.run_text( text = node.run_text(
"What is your name? Generate a picture of yourself" "What is your name? Generate a picture of yourself"

Loading…
Cancel
Save