Spaces:
Sleeping
Sleeping
mzimm003
commited on
Commit
·
a7af915
1
Parent(s):
fedfcfd
Update render
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ def main(kwargs=None):
|
|
8 |
modelminmax = DCMinMax.from_pretrained("mzimm003/DeepChessReplicationMinMax")
|
9 |
play = HumanVsBot(
|
10 |
model=modelminmax,
|
11 |
-
environment=Chess(render_mode="
|
12 |
extra_model_environment_context=lambda env: {"board":env.board}
|
13 |
)
|
14 |
play.run()
|
|
|
8 |
modelminmax = DCMinMax.from_pretrained("mzimm003/DeepChessReplicationMinMax")
|
9 |
play = HumanVsBot(
|
10 |
model=modelminmax,
|
11 |
+
environment=Chess(render_mode="rgb_array"),
|
12 |
extra_model_environment_context=lambda env: {"board":env.board}
|
13 |
)
|
14 |
play.run()
|