Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,11 +10,11 @@ def play_game(game_id, user_id, user_input):
|
|
10 |
return result
|
11 |
|
12 |
def health_check(name):
|
13 |
-
|
14 |
-
return
|
15 |
|
16 |
def generate_image_prompt(game_id, user_id, user_input):
|
17 |
-
|
18 |
return result
|
19 |
|
20 |
# @app.route('/load_game', methods=['GET'])
|
|
|
10 |
return result
|
11 |
|
12 |
def health_check(name):
|
13 |
+
result = {"role": "assistant", "content": "Hello " + name + "! The site is up"}
|
14 |
+
return result
|
15 |
|
16 |
def generate_image_prompt(game_id, user_id, user_input):
|
17 |
+
result = chat.generate_image_prompt(game_id, user_id, user_input)
|
18 |
return result
|
19 |
|
20 |
# @app.route('/load_game', methods=['GET'])
|