-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathmessages.py
32 lines (29 loc) · 1.32 KB
/
messages.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright (c) 2024, RTE (https://www.rte-france.com)
# See AUTHORS.txt
# SPDX-License-Identifier: MPL-2.0
# This file is part of BERTrend.
# Success Messages
STATE_SAVED_MESSAGE = "Application state saved."
STATE_RESTORED_MESSAGE = "Application state restored."
MODELS_SAVED_MESSAGE = "Models saved."
MODELS_RESTORED_MESSAGE = "Models restored."
MODEL_MERGING_COMPLETE_MESSAGE = "Model merging complete!"
TOPIC_COUNTS_SAVED_MESSAGE = "Topic and signal counts saved to {file_path}"
CACHE_PURGED_MESSAGE = "Cache purged."
PROGRESS_BAR_DESCRIPTION = "Batches processed"
# Error Messages
NO_DATA_WARNING = "No data available for the selected granularity."
NO_STATE_WARNING = "No saved state found."
NO_MODELS_WARNING = "No saved models found."
NO_CACHE_WARNING = "No cache found."
EMBED_WARNING = "Please embed data before proceeding to model training."
EMBED_TRAIN_WARNING = (
"Please embed data and train models before proceeding to analysis."
)
TRAIN_WARNING = "Please train models before proceeding to analysis."
MERGE_WARNING = "Please merge models to view additional analyses."
TOPIC_NOT_FOUND_WARNING = (
"Topic {topic_number} not found in the merge histories within the specified window."
)
NO_GRANULARITY_WARNING = "Granularity value not found."
HTML_GENERATION_FAILED_WARNING = "HTML generation failed. Displaying markdown instead."