Skip to content

Commit 79ab94a

Browse files
committed
!HOTFIX : Added model cache supabase limit 2
1 parent bec23dd commit 79ab94a

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

.github/workflows/sentiment.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,6 @@ jobs:
5353
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
5454
SUPABASE_KEY: ${{ secrets.SUPABASE_KEY }}
5555

56-
# 7. 모델 없을 때만 Supabase에서 다운로드
57-
- name: Download model if not cached
58-
run: |
59-
if [ ! -f SaveModel/upstock_sentiment_model.keras ]; then
60-
echo "Downloading model from Supabase..."
61-
python scripts/download_model.py
62-
else
63-
echo "Model already cached, skip download"
64-
fi
65-
66-
# 8. 스크립트 실행
56+
# 7. 스크립트 실행 (main.py 안에서 필요시 모델 다운로드)
6757
- name: Run sentiment script
6858
run: python main.py

0 commit comments

Comments
 (0)