pull/58/head
Kye 1 year ago
parent 2cbaccb45c
commit 69b8732324

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

@ -1637,9 +1637,9 @@ class MultiModalAgent:
self.langigage = language self.langigage = language
# if load_dict is None: # if load_dict is None:
load_dict = { # self.load_dict = {
"ImageCaptioning": "default_device" # "ImageCaptioning": "default_device"
} # }
self.agent = MultiModalVisualAgent( self.agent = MultiModalVisualAgent(
load_dict, load_dict,

Loading…
Cancel
Save