ml-tooling / opyrator

🪄 Turns your machine learning code into microservices with web API, interactive GUI, and more.

Home Page:https://opyrator-playground.mltooling.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Finalize auto-generation of python client

LukasMasuch opened this issue · comments

Feature description:

Finalize auto-generation of python client for Opyrator.

Every deployed Opyrator provides a Python client library via an endpoint method which can be installed with pip:

pip install http://my-opyrator:8080/client

And used in your code, as shown below:

from my_opyrator import Client, Input
opyrator_client = Client("http://my-opyrator:8080")
result = opyrator_client.call(Input(text="hello", wait=1))

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days