Spaces:
Runtime error
Runtime error
updates
Browse files
start.sh
CHANGED
@@ -13,13 +13,14 @@ git config --global --add safe.directory /app/olas-predict-benchmark/benchmark/m
|
|
13 |
|
14 |
# Ensure you're in the right directory before running git checkout
|
15 |
cd /app/olas-predict-benchmark
|
16 |
-
|
17 |
git checkout fix/mech-packages || echo "Branch 'fix/mech-packages' not found."
|
18 |
-
cd
|
19 |
|
20 |
cd /app/olas-predict-benchmark/benchmark/mech
|
|
|
21 |
git checkout main || echo "Switching to 'main'."
|
22 |
-
cd
|
23 |
|
24 |
# Configure poetry to create virtual environments within the project directory
|
25 |
poetry config virtualenvs.in-project true
|
|
|
13 |
|
14 |
# Ensure you're in the right directory before running git checkout
|
15 |
cd /app/olas-predict-benchmark
|
16 |
+
git fetch
|
17 |
git checkout fix/mech-packages || echo "Branch 'fix/mech-packages' not found."
|
18 |
+
cd ..
|
19 |
|
20 |
cd /app/olas-predict-benchmark/benchmark/mech
|
21 |
+
git fetch
|
22 |
git checkout main || echo "Switching to 'main'."
|
23 |
+
cd ../../../..
|
24 |
|
25 |
# Configure poetry to create virtual environments within the project directory
|
26 |
poetry config virtualenvs.in-project true
|