parent
49c7b8e306
commit
f56b8f794f
@ -0,0 +1,8 @@
|
||||
from swarms.models import Dalle3
|
||||
|
||||
dalle3 = Dalle3(
|
||||
openai_api_key=""
|
||||
)
|
||||
task = "A painting of a dog"
|
||||
image_url = dalle3(task)
|
||||
print(image_url)
|
@ -1,10 +1,7 @@
|
||||
from swarms.models.gpt4v import GPT4Vision
|
||||
|
||||
api_key = ""
|
||||
|
||||
gpt4vision = GPT4Vision(
|
||||
openai_api_key=api_key,
|
||||
)
|
||||
gpt4vision = GPT4Vision(openai_api_key="")
|
||||
|
||||
img = "https://upload.wikimedia.org/wikipedia/commons/thumb/0/0d/VFPt_Solenoid_correct2.svg/640px-VFPt_Solenoid_correct2.svg.png"
|
||||
|
Loading…
Reference in new issue