Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ classifier = pipeline("text-classification", model="j-hartmann/emotion-english-d
|
|
| 15 |
emotion_labels = ["joy", "surprise", "sadness", "anger", "anxiety", "fear"]
|
| 16 |
|
| 17 |
# Base directory for storing music files (use a writable location)
|
| 18 |
-
base_dir = '/home/user/app/
|
| 19 |
|
| 20 |
# Create directories for each emotion label
|
| 21 |
for emotion_label in emotion_labels:
|
|
|
|
| 15 |
emotion_labels = ["joy", "surprise", "sadness", "anger", "anxiety", "fear"]
|
| 16 |
|
| 17 |
# Base directory for storing music files (use a writable location)
|
| 18 |
+
base_dir = '/home/user/app/huggingface_models'
|
| 19 |
|
| 20 |
# Create directories for each emotion label
|
| 21 |
for emotion_label in emotion_labels:
|