Spaces:
Runtime error
Runtime error
Update start.sh
Browse files
start.sh
CHANGED
|
@@ -1,6 +1,11 @@
|
|
| 1 |
#!/bin/bash
|
|
|
|
| 2 |
echo "Setting permissions for VeloCT_Base..."
|
| 3 |
chmod +x ./engines/VeloCT_Base
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
echo "Starting the Lichess Bot..."
|
| 6 |
python lichess-bot.py -u
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
+
|
| 3 |
echo "Setting permissions for VeloCT_Base..."
|
| 4 |
chmod +x ./engines/VeloCT_Base
|
| 5 |
|
| 6 |
+
echo "Injecting Lichess token into config..."
|
| 7 |
+
# This secretly replaces the placeholder with your actual HF Secret token
|
| 8 |
+
sed -i "s|\${LICHESS_TOKEN}|${LICHESS_TOKEN}|g" config.yml
|
| 9 |
+
|
| 10 |
echo "Starting the Lichess Bot..."
|
| 11 |
python lichess-bot.py -u
|