Skip to content

Commit 699426b

Browse files
committed
Skip if trained model not present
1 parent 02b4eb1 commit 699426b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eval.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ run: |
1616
echo "Evaluating the trained model..."
1717
1818
# Run a mock evaluation job that reads the trained model from /data/trained_model.txt
19-
cat /data/trained_model.txt
19+
cat /data/trained_model.txt || true
2020
# Generate a mock accuracy
2121
ACCURACY=$(shuf -i 90-100 -n 1)
2222
echo "Metric - accuracy: $ACCURACY%"

0 commit comments

Comments
 (0)