MASAI / config.toml
markitantov's picture
Added new files
674f4d6
raw
history blame
2.33 kB
[AppSettings]
APP_VERSION = "0.0.2"
CSS_PATH = "app.css"
[General]
TEXT_MAX_LENGTH = 1000
SR = 16000
START_TIME = 0
WIN_MAX_LENGTH = 4
WIN_SHIFT = 2
WIN_MIN_LENGTH = 2
DICT_EMO = [
"Neutral",
"Happy",
"Sad",
"Anger",
"Surprise",
"Disgust",
"Fear",
]
DICT_SENT = [
"Negative",
"Neutral",
"Positive",
]
[InformationMessages]
NOTI_RESULTS = [
"Upload or record video",
"Video uploaded, you can perform calculations",
]
REC_TEXT = "Recognized text"
VIDEO_DURATION = "Video duration"
INFERENCE_TIME = "MASAI pipeline inference time"
[OtherMessages]
CLEAR = "Clear"
SUBMIT = "Calculate"
SEC = "{:.2f} seconds"
[Labels]
VIDEO = "Video"
FACE_IMAGES = "Face images"
WAVEFORM = "Waveform"
EMO_STATS = "Statistics of emotions"
SENT_STATS = "Statistics of sentiments"
[TabCreators]
"⭐ App" = "app_tab"
# "βš™οΈ Settings" = "settings_app_tab"
# "πŸ’‘ About App" = "about_app_tab"
"🎭 Authors" = "about_authors_tab"
"πŸ“‹ Requirements" = "requirements_app_tab"
[StaticPaths]
MODELS = "models"
IMAGES = "images"
WEIGHTS = "weights"
VAD_MODEL = "snakers4/silero-vad"
HF_MODELS = "https://huggingface.co/ElenaRyumina/MASAI_models/resolve/main/"
EMO_AFFECTNET_WEIGHTS = "emo_affectnet_weights.pt"
EMO_SENT_AUDIO_WEIGHTS = "emo_sent_audio_weights.pth"
EMO_SENT_TEXT_WEIGHTS = "emo_sent_text_weights.pth"
EMO_SENT_VIDEO_WEIGHTS = "emo_sent_video_weights.pth"
YOLOV8N_FACE = "yolov8n-face.pt"
OPENAI_WHISPER = "openai/whisper-large-v3-turbo"
EXAMPLES = [
"videos/1.mp4",
"videos/2.mp4",
"videos/10dec_D61_2__0027.mp4",
"videos/10dec_K71_1__0117.mp4",
"videos/14dec_D53_2__0211.mp4",
"videos/14dec_D71_2__0234.mp4",
"videos/14dec_K22_2__0287.mp4",
"videos/15dec_D63_1__0515.mp4",
"videos/15dec_D63_1__0516.mp4",
"videos/15dec_D63_2__0519.mp4",
"videos/15dec_D71_1__0526.mp4",
"videos/15dec_K31_2__0635.mp4",
"videos/15dec_K44_2__0690.mp4",
"videos/16dec_D13_1__0797.mp4",
"videos/16dec_D41_2__0862.mp4",
"videos/16dec_K11_1__0934.mp4",
"videos/22dec_D63_2__1405.mp4",
"videos/22dec_K24_1__1475.mp4",
"videos/22dec_K34_1__1506.mp4",
"videos/22dec_K63_2__1605.mp4",
"videos/22dec_N11_2__1767.mp4"
]
[Requirements]
LIBRARY = "Library"
RECOMMENDED_VERSION = "Recommended version"
CURRENT_VERSION = "Current version"