SanaomerUnity commited on
Commit
b544aae
·
1 Parent(s): 3ff2a2c

Update app.py

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