Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -32,8 +32,7 @@ import gradio
|
|
32 |
|
33 |
# @app.route('/health_check', methods=['GET'])
|
34 |
def health_check(name):
|
35 |
-
|
36 |
-
return jsonify(response)
|
37 |
|
38 |
# @app.route('/load_game', methods=['GET'])
|
39 |
# def load_game():
|
@@ -44,7 +43,7 @@ def health_check(name):
|
|
44 |
gradio_interface = gradio.Interface(
|
45 |
fn=health_check,
|
46 |
inputs="text",
|
47 |
-
outputs="
|
48 |
)
|
49 |
gradio_interface.launch()
|
50 |
|
|
|
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():
|
|
|
43 |
gradio_interface = gradio.Interface(
|
44 |
fn=health_check,
|
45 |
inputs="text",
|
46 |
+
outputs="text"
|
47 |
)
|
48 |
gradio_interface.launch()
|
49 |
|