laxsvips commited on
Commit
dbf4055
·
1 Parent(s): 6ee45eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -32,7 +32,8 @@ import gradio
32
 
33
  # @app.route('/health_check', methods=['GET'])
34
  def health_check(name):
35
- return "Hello " + name + "!"
 
36
 
37
  # @app.route('/load_game', methods=['GET'])
38
  # def load_game():
 
32
 
33
  # @app.route('/health_check', methods=['GET'])
34
  def health_check(name):
35
+ response = {"message": "Hello " + name + "!"}
36
+ return jsonify(response)
37
 
38
  # @app.route('/load_game', methods=['GET'])
39
  # def load_game():