Upload app.py
Browse files
app.py
CHANGED
@@ -13,8 +13,8 @@ class StockCodeNotFoundError(Exception):
|
|
13 |
class CurrencyConversionError(Exception):
|
14 |
pass
|
15 |
|
16 |
-
# Hugging Face 모델 로드
|
17 |
-
sentiment_analysis = pipeline('sentiment-analysis')
|
18 |
|
19 |
# 로깅 설정
|
20 |
logging.basicConfig(
|
|
|
13 |
class CurrencyConversionError(Exception):
|
14 |
pass
|
15 |
|
16 |
+
# Hugging Face 모델 로드 (명시적 지정)
|
17 |
+
sentiment_analysis = pipeline('sentiment-analysis', model="distilbert-base-uncased-finetuned-sst-2-english")
|
18 |
|
19 |
# 로깅 설정
|
20 |
logging.basicConfig(
|