...
Finally to start the Python Bridge server, all you need to do is to execute the command:choose one of the following options:
For local testing only.
Code Block | ||||
---|---|---|---|---|
| ||||
python server.py |
...
<Port Number> |
Note |
---|
You must specify the port number, usually 5000. |
For production environments. Supports https and basic authentication.
Code Block | ||
---|---|---|
| ||
python server-cherrypy.py |
Note |
---|
For security configuration refer to Python Bridge Configuration. |
Note |
---|
If it's the first time starting Python Bridge, it will download a couple of models, among them BERT base uncased model, which has a size of roughly 4Gb. Python Bridge will not be ready until all the models are downloaded. Once downloaded, next time you start Python Bridge it will be pretty fast. |
...