BlueMoonBot commited on
Commit
9d73c27
·
verified ·
1 Parent(s): 1cc67a4

Create main.py

Browse files
Files changed (1) hide show
  1. main.py +8 -0
main.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import subprocess
3
+
4
+ print("Starting Lichess Bot...")
5
+
6
+ # This executes the actual lichess-bot script in the background
7
+ # Make sure your config.yml file is also uploaded to Hugging Face!
8
+ subprocess.run(["python", "lichess-bot.py"])