parent
8198bde0f6
commit
70c1359a2e
@ -0,0 +1,12 @@
|
|||||||
|
from swarms import MultiModalAgent
|
||||||
|
|
||||||
|
node = MultiModalAgent()
|
||||||
|
|
||||||
|
text = node.run_text("What is your name? Generate a picture of yourself")
|
||||||
|
|
||||||
|
img = node.run_img("/image1", "What is this image about?")
|
||||||
|
|
||||||
|
chat = node.chat(
|
||||||
|
"What is your name? Generate a picture of yourself. What is this image about?",
|
||||||
|
streaming=True
|
||||||
|
)
|
Loading…
Reference in new issue