laxsvips commited on
Commit
40adbbb
·
1 Parent(s): 148bfde

Adding function for Leo

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -12,6 +12,10 @@ def play_game(game_id, user_id, user_input):
12
  def health_check(name):
13
  response = {"role": "assistant", "content": "Hello " + name + "! The site is up"}
14
  return response
 
 
 
 
15
 
16
  # @app.route('/load_game', methods=['GET'])
17
  # def load_game():
 
12
  def health_check(name):
13
  response = {"role": "assistant", "content": "Hello " + name + "! The site is up"}
14
  return response
15
+
16
+ def generate_image_prompt(game_id, user_id, user_input):
17
+ response = chat.generate_image_prompt(game_id, user_id, user_input)
18
+ return result
19
 
20
  # @app.route('/load_game', methods=['GET'])
21
  # def load_game():