Jina-2.py
· 147 B · Python
Sin formato
from jina import Deployment
from executor import StableLM
dep = Deployment(uses=StableLM, timeout_ready=-1, port=12345)
with dep:
dep.block()
1 | from jina import Deployment |
2 | from executor import StableLM |
3 | |
4 | dep = Deployment(uses=StableLM, timeout_ready=-1, port=12345) |
5 | |
6 | with dep: |
7 | dep.block() |