SanaomerUnity commited on
Commit
4ad1b98
·
1 Parent(s): ac1d0df

Update app.py

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