We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe9051c commit 1e5324fCopy full SHA for 1e5324f
server.py
@@ -28,6 +28,12 @@ def get_models():
28
out = translation_server.list_models()
29
return jsonify(out)
30
31
+ @app.route('/health', methods=['GET'])
32
+ def health():
33
+ out = {}
34
+ out['status'] = STATUS_OK
35
+ return jsonify(out)
36
+
37
@app.route('/clone_model/<int:model_id>', methods=['POST'])
38
def clone_model(model_id):
39
out = {}
0 commit comments