Spaces:
Runtime error
Runtime error
Create config/settings.py
Browse files- config/settings.py +13 -0
config/settings.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# config/settings.py
|
| 2 |
+
|
| 3 |
+
# Hugging Face models
|
| 4 |
+
SENTIMENT_MODEL = "distilbert-base-uncased-finetuned-sst-2-english"
|
| 5 |
+
SUMMARIZER_MODEL = "facebook/bart-large-cnn"
|
| 6 |
+
|
| 7 |
+
# File paths
|
| 8 |
+
DATA_PATH = "data/sample_texts.txt"
|
| 9 |
+
|
| 10 |
+
# WordCloud settings
|
| 11 |
+
WC_WIDTH = 800
|
| 12 |
+
WC_HEIGHT = 400
|
| 13 |
+
WC_BG_COLOR = "white"
|