SingularityNET alpha service example
121
Simple image classification service compatible with the alpha SingularityNET daemon
$ git clone [email protected]:singnet/alpha-service-example.git
$ cd alpha-service-example
$ pip install -r requirements.txt
{
"SERVER_PORT": 5001,
"MINIMUM_SCORE": 0.20,
"LOG_LEVEL": 10
}
$ python image_classification_service
{
"DAEMON_LISTENING_PORT": 5000,
"ETHEREUM_JSON_RPC_ENDPOINT": "",
"AGENT_CONTRACT_ADDRESS": "",
"PASSTHROUGH_ENDPOINT": "",
"PASSTHROUGH_ENABLED": true,
"BLOCKCHAIN_ENABLED": true,
"LOG_LEVEL": 10,
"PRIVATE_KEY": "",
"HDWALLET_MNEMONIC": "",
"HDWALLET_INDEX": 0
}
$ ./scripts/run-snet-service --daemon-config-path /path/to/config
$ docker run --detach -p HOST_PORT:DAEMON_LISTENING_PORT -v /path/to/config:/snetd.config singularitynet/alpha-service-example:latest
$ ./scripts/test-call
$ ./scripts/build-docker
This project is licensed under the MIT License - see the LICENSE file for details.
Content type
Image
Digest
Size
657.4 MB
Last updated
over 8 years ago
docker pull singularitynet/alpha-service-example