Spaces:
Sleeping
Sleeping
mzimm003
commited on
Commit
·
39de071
1
Parent(s):
11d0b00
setup for debug
Browse files
app.py
CHANGED
@@ -18,7 +18,8 @@ def main(kwargs=None):
|
|
18 |
label="bot",
|
19 |
options=["DeepChessReplicationMinMax"],
|
20 |
)
|
21 |
-
st.button("Play bot!", on_click=play, args=bot_select)
|
22 |
|
23 |
if __name__ == "__main__":
|
24 |
-
main()
|
|
|
|
18 |
label="bot",
|
19 |
options=["DeepChessReplicationMinMax"],
|
20 |
)
|
21 |
+
st.button("Play bot!", on_click=play, args=[bot_select])
|
22 |
|
23 |
if __name__ == "__main__":
|
24 |
+
# main()
|
25 |
+
play("DeepChessReplicationMinMax")
|
launch.py
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from streamlit.testing.v1 import AppTest
|
2 |
+
|
3 |
+
at = AppTest.from_file("/app/app.py", default_timeout=100)
|
4 |
+
at.run()
|