Spaces:
Paused
Paused
Commit
·
3ff2a2c
1
Parent(s):
d2a56b4
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,8 @@ import backgammon
|
|
| 3 |
|
| 4 |
def greet(GNUID, MatchID):
|
| 5 |
b = backgammon.Backgammon(GNUID, MatchID)
|
| 6 |
-
|
|
|
|
| 7 |
|
| 8 |
|
| 9 |
demo = gr.Interface(fn=greet, inputs=["text","text"], outputs="text")
|
|
|
|
| 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")
|