SanaomerUnity commited on
Commit
92e4a3d
·
1 Parent(s): 61e53cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import backgammon
4
  def greet(GNUID):
5
  b = backgammon.Backgammon(GNUID, "cInpAAAAAAAA")
6
  for play in b.generate_plays():
7
- return play.moves
8
 
9
 
10
  demo = gr.Interface(fn=greet, inputs="text", outputs="text")
 
4
  def greet(GNUID):
5
  b = backgammon.Backgammon(GNUID, "cInpAAAAAAAA")
6
  for play in b.generate_plays():
7
+ return play.moves, play.position
8
 
9
 
10
  demo = gr.Interface(fn=greet, inputs="text", outputs="text")