Son aktif 1731289443

Jina-4.py Ham
1from jina import Client
2from docarray import DocList
3from executor import Prompt, Generation
4
5prompt = Prompt(text='suggest an interesting image generation prompt')
6client = Client(port=12345)
7response = client.post('/', inputs=[prompt], return_type=DocList[Generation])