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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -47,5 +47,13 @@ play_game_gr = gradio.Interface(
47
  description="An API for the user to interact with the LLM"
48
  )
49
 
 
 
 
 
 
 
 
 
50
  genesis_app = gradio.TabbedInterface([health_check_gr, initialize_game_gr, play_game_gr], ["Developers - Health Check", "Initialize game", "Play Game"])
51
  genesis_app.launch()
 
47
  description="An API for the user to interact with the LLM"
48
  )
49
 
50
+ generate_image_prompt_gr = gradio.Interface(
51
+ fn=play_game,
52
+ inputs=["text","text", "text"],
53
+ outputs="text",
54
+ title="Generate prompt for image",
55
+ description="An API for the user to generate a prompt to input to Leo"
56
+ )
57
+
58
  genesis_app = gradio.TabbedInterface([health_check_gr, initialize_game_gr, play_game_gr], ["Developers - Health Check", "Initialize game", "Play Game"])
59
  genesis_app.launch()