Jina-5.py
· 116 B · Python
Sin formato
from jina import Flow
flow = Flow(port=12345).add(uses=StableLM).add(uses=TextToImage)
with flow:
flow.block()
1 | from jina import Flow |
2 | |
3 | flow = Flow(port=12345).add(uses=StableLM).add(uses=TextToImage) |
4 | |
5 | with flow: |
6 | flow.block() |