Skip to content

Commit 72f8ea6

Browse files
committed
style: format config.py with ruff
1 parent dbc1bb3 commit 72f8ea6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

api/config.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ class Settings:
5656

5757
# === API Server ===
5858
API_PORT: int = get_int("API_PORT", 8000)
59-
CORS_ORIGINS: list[str] = get_list("CORS_ORIGINS", "http://localhost:3000,http://localhost:3001")
59+
CORS_ORIGINS: list[str] = get_list(
60+
"CORS_ORIGINS", "http://localhost:3000,http://localhost:3001"
61+
)
6062

6163
# === YouTube Extraction ===
6264
YOUTUBE_MAX_COMMENTS: int = get_int("YOUTUBE_MAX_COMMENTS", 100)
@@ -66,7 +68,9 @@ class Settings:
6668
YOUTUBE_SEARCH_TIMEOUT: int = get_int("YOUTUBE_SEARCH_TIMEOUT", 30)
6769

6870
# === ML Models ===
69-
SENTIMENT_MODEL: str = get_str("SENTIMENT_MODEL", "nlptown/bert-base-multilingual-uncased-sentiment")
71+
SENTIMENT_MODEL: str = get_str(
72+
"SENTIMENT_MODEL", "nlptown/bert-base-multilingual-uncased-sentiment"
73+
)
7074
ZERO_SHOT_MODEL: str = get_str("ZERO_SHOT_MODEL", "facebook/bart-large-mnli")
7175
EMBEDDING_MODEL: str = get_str("EMBEDDING_MODEL", "all-MiniLM-L6-v2")
7276

0 commit comments

Comments
 (0)