diff options
Diffstat (limited to 'gn3')
-rw-r--r-- | gn3/api/gemma.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gn3/api/gemma.py b/gn3/api/gemma.py index ae23b34..30d486f 100644 --- a/gn3/api/gemma.py +++ b/gn3/api/gemma.py @@ -1,5 +1,6 @@ """Endpoints for running the gemma cmd""" from flask import Blueprint +from flask import jsonify gemma = Blueprint("gemma", __name__) @@ -7,4 +8,4 @@ gemma = Blueprint("gemma", __name__) @gemma.route("/") def index() -> str: """Test endpoint""" - return "hello world" + return jsonify(result="hello world") |