Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions scripts/ai/compile_branch.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ echo "Checking if lore folder exists... you will need access to webaverse/lore f

# if it doesn't, clone it
# if it does, reset and pull it
if [ ! -d "lore" ]; then
if [ ! -d "../../../lore" ]; then
git clone https://github.com/webaverse/lore
cd lore
else
cd lore
cd ../../../lore
git reset --hard
git pull
fi
Expand All @@ -25,8 +25,8 @@ branch=$1
# checkout branch
git checkout $branch

cd ..
cd ../wiki/scripts/ai/

node format-training-data-local.js ./lore/datasets
node format-training-data-local.js ../../../lore/datasets

echo "Done!"
echo "Done!"