Spaces:
Running
on
Zero
Running
on
Zero
[AppSettings] | |
APP_VERSION = "0.0.1" | |
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: {:.2f} seconds" | |
[OtherMessages] | |
CLEAR = "Clear" | |
SUBMIT = "Calculate" | |
[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-base" | |
EXAMPLES = [ | |
"videos/1.mp4", | |
"videos/2.mp4", | |
] | |
[Requirements] | |
LIBRARY = "Library" | |
RECOMMENDED_VERSION = "Recommended version" | |
CURRENT_VERSION = "Current version" |