Download code/frontend/apps/web/src/locales/en.json from Jiali9/Affect-Atlas: direct link, hf CLI and curl.
- Browser
- Download file 14.9 kB
-
https://huggingface.co/Jiali9/Affect-Atlas/resolve/main/code/frontend/apps/web/src/locales/en.json
- Command line
-
hf download hf://Jiali9/Affect-Atlas/code/frontend/apps/web/src/locales/en.json
-
curl -L -o en.json https://huggingface.co/Jiali9/Affect-Atlas/resolve/main/code/frontend/apps/web/src/locales/en.json
14.9 kB
| { | |
| "nav": { | |
| "brand": "Music Emotion Lab", | |
| "subtitle": "MUSIC AFFECT · RESEARCH DEMO", | |
| "researchBadge": "Research Demo", | |
| "home": "Home", | |
| "demo": "Demo", | |
| "gallery": "Gallery", | |
| "research": "Research", | |
| "about": "About", | |
| "chinese": "Chinese", | |
| "chineseShort": "ZH" | |
| }, | |
| "intro": { | |
| "eyebrow": "Overall Music Emotion · CPU Inference", | |
| "title": "Hear the music,", | |
| "titleHighlight": " observe the emotion.", | |
| "description": "Upload a music clip to observe overall valence and arousal predicted by the model.", | |
| "descriptionLine2": "A two-dimensional perspective exploring musical emotional expression, not defining subjective feelings.", | |
| "tagCpu": "CPU Inference Only", | |
| "tagPrivacy": "Temporary Audio Processing", | |
| "tagNonRealtime": "Non-Realtime Analysis" | |
| }, | |
| "service": { | |
| "title": "Inference Service", | |
| "statusReady": "CPU service is ready", | |
| "statusNotConnected": "Cannot connect to inference service", | |
| "statusNotReady": "Model not yet ready", | |
| "statusChecking": "Checking service status", | |
| "badgeReady": "Ready", | |
| "badgeChecking": "Checking", | |
| "badgeUnavailable": "Unavailable", | |
| "modelName": "MERT-v1-95M", | |
| "modelConfig": "CPU · No Calibration", | |
| "queue": "Running {{active}} · Queued {{queued}} / {{max}}", | |
| "alertCheckFailed": "Health check failed", | |
| "alertMissingAssets": "Missing local model assets", | |
| "alertUnavailable": "Upload currently unavailable", | |
| "alertDescriptionChecking": "Fetching backend health status. Upload will be available once service is ready.", | |
| "alertDescriptionMissing": "Please prepare real model assets in the backend. This page will not generate random predictions or dummy scores.", | |
| "refreshButton": "Recheck Service", | |
| "refreshButtonChecking": "Checking" | |
| }, | |
| "upload": { | |
| "sectionNumber": "01 / Input", | |
| "title": "Select a Music Clip", | |
| "description": "Keep original audio quality; format and duration validation handled by backend.", | |
| "dropzoneTitle": "Drop music here", | |
| "dropzoneTitleSelected": "Music selected", | |
| "dropzoneSubtitle": "Or use file picker below", | |
| "fileInputLabel": "Select music file", | |
| "limitsFormats": "WAV / MP3 / FLAC / OGG", | |
| "limitsM4a": "Convert M4A to formats above", | |
| "limitsSize": "Max {{max}} MB · {{min}}–{{maxDuration}} seconds", | |
| "selectedFileSize": "{{size}} MB · Local preview", | |
| "removeButton": "Remove", | |
| "audioPreviewLabel": "Local preview of selected music", | |
| "errorM4a": "M4A not supported. Please convert to WAV, MP3, FLAC, or OGG first.", | |
| "errorEmpty": "The audio file is empty. Please choose another file.", | |
| "errorTooLarge": "File exceeds {{max}} MB limit. Please select a smaller audio file.", | |
| "analyzeButton": "Start Emotion Analysis", | |
| "analyzeButtonUploading": "Uploading music", | |
| "analyzeButtonAnalyzing": "Analyzing, please wait", | |
| "privacyNote": "Uploaded audio is temporarily processed and deleted by backend, used only for current analysis. Please ensure you have rights to use this audio." | |
| }, | |
| "task": { | |
| "titleUploading": "Uploading music", | |
| "titleDefault": "Task Info", | |
| "stageQueued": "Waiting in CPU work queue", | |
| "stageDecoding": "Decoding and validating audio", | |
| "stageLoadingModel": "Loading model", | |
| "stageExtractingFeatures": "Extracting music features", | |
| "stagePredicting": "Computing overall emotion scores", | |
| "stageCompleted": "Analysis completed", | |
| "stageFailed": "Analysis failed", | |
| "progressLabel": "Backend task progress", | |
| "captionFailed": "Task failed and stopped polling. Will not continue waiting or generate results. Please check error and re-analyze.", | |
| "captionCompleted": "Overall and available window results for current audio have been returned.", | |
| "captionProcessing": "CPU inference may take several minutes; polling status every 2 seconds, up to 20 minutes.", | |
| "alertTitle": "Attention Required", | |
| "resumeButton": "Resume Status Polling" | |
| }, | |
| "result": { | |
| "sectionNumber": "02 / Overall Observation", | |
| "title": "Music Emotion Coordinates", | |
| "badge": "Overall Static Prediction", | |
| "description": "Horizontal axis is valence, vertical axis is arousal; both range from −1 to 1.", | |
| "valenceName": "Valence", | |
| "valenceNameEn": "Valence", | |
| "valenceDesc": "Negative ← 0 → Positive", | |
| "arousalName": "Arousal", | |
| "arousalNameEn": "Arousal", | |
| "arousalDesc": "Calm ← 0 → Excited", | |
| "tooltipOriginal": "Model raw value: {{value}}", | |
| "quadrantNegativeHigh": "Negative · High Arousal", | |
| "quadrantPositiveHigh": "Positive · High Arousal", | |
| "quadrantNegativeLow": "Negative · Low Arousal", | |
| "quadrantPositiveLow": "Positive · Low Arousal", | |
| "axisValence": "Valence →", | |
| "axisArousal": "Arousal →", | |
| "planeTooltip": "Valence {{valence}}, Arousal {{arousal}}", | |
| "planeWaiting": "Waiting for real analysis results", | |
| "rangeAlertTitle": "Raw output exceeds reference range", | |
| "rangeAlertDesc": "Values above are displayed with four decimal places; hover or export to view raw values. Only coordinates on the overall 2D plot use display values clipped to [−1, 1], without changing raw predictions. Raw values are not probabilities.", | |
| "metaDuration": "Audio Duration", | |
| "metaProcessing": "Processing Time", | |
| "metaFeatureBins": "Feature Bins", | |
| "metaDevice": "Device", | |
| "metaHeadSeed": "Regression Head Seed", | |
| "metaCalibration": "Calibration", | |
| "metaCalibrationNone": "None", | |
| "metaRevision": "Model Revision", | |
| "interpretationTitle": "How to interpret these values?", | |
| "interpretationDesc": "Positive / negative, calm / excited only describe numerical directions, not reliable emotion classification. Outputs are uncalibrated and do not represent probabilities, accuracy, or personal feelings; this demo is not a medical tool and does not provide real-time emotion trajectories." | |
| }, | |
| "timeline": { | |
| "title": "Music Emotion Timeline", | |
| "desc": "Single emotion curve showing arousal variation across the audio.", | |
| "time": "Time", | |
| "arousal": "Arousal", | |
| "empty": "Emotion curve will appear here after real analysis completes.", | |
| "waiting": "Waiting for real analysis results", | |
| "helpText": "Y-axis represents arousal (calm ← 0 → excited); curve connects real prediction points without smoothing. Playhead syncs with audio player. Click to seek, hover for details.", | |
| "clickHelp": "Click anywhere on the chart to seek; hover for time and arousal values; playhead syncs with audio player." | |
| }, | |
| "window": { | |
| "sectionNumber": "03 / Window Observation", | |
| "title": "Sliding Window Scoring", | |
| "badge": "10s window / 5s hop", | |
| "desc": "Reuses full-clip MERT features, applying static prediction head within time windows. Curves connect true outputs at window centers only; lines do not represent intermediate predictions.", | |
| "alertTitle": "Window Scoring Notes", | |
| "alertDesc": "This is not frame-by-frame emotion tracking or real-time recognition; no smoothing or calibration applied, excluding the 13.5% calibration effect from the paper. Windows may overlap; audio ≤10s has one full-span window; long audio appends tail window.", | |
| "emptyNoData": "Backend returned no time-window data; unable to draw curves. Please check backend and re-analyze.", | |
| "emptyOldResult": "This legacy result contains only overall scores. Re-analyze to obtain time windows; no synthetic curves.", | |
| "emptyWaiting": "Window scoring will appear here after real analysis completes; no curve data currently available.", | |
| "valenceCurve": "Valence", | |
| "arousalCurve": "Arousal", | |
| "playbackPos": "Playback position {{time}}", | |
| "singleWindowNote": "Single full-span window: only true score points available, no observable variation curve, no interpolation.", | |
| "chartAriaLabel": "Window scoring chart: X-axis in seconds, Y-axis normalized scores. Use buttons below for keyboard window selection.", | |
| "axisTime": "Audio Time (seconds)", | |
| "axisScore": "Normalized Score (non-probability)", | |
| "helpText": "Click score points on chart or segment buttons below to seek to window start; does not auto-play. Playhead syncs with local player; position retained when paused. Dark border indicates selected window; 'Playing in' selects the window containing current time with nearest center; overlapping regions may belong to multiple windows.", | |
| "windowLabel": "Window {{index}}", | |
| "playingIn": "Playing in", | |
| "selectedWindow": "Selected Window {{index}}", | |
| "windowStart": "Start", | |
| "windowEnd": "End", | |
| "windowCenter": "Center", | |
| "windowBins": "Feature Bins", | |
| "relativeTo": "Relative to overall {{delta}}", | |
| "rangeNote": "Raw values exceed [−1, 1]; Y-axis auto-expanded, curves not clipped.", | |
| "exportJson": "Export Full JSON", | |
| "exportCsv": "Export Window CSV", | |
| "exportNote": "Four decimals for readability; hover values or export for raw data. Exports exclude task access tokens.", | |
| "methodNote": "The static scoring model uses features from fixed 10-second windows with a 5-second hop, reusing MERT context from the full clip. These windows are shorter than the 45-second training clips, so accuracy on individual windows has not been validated. The scores are not second-by-second ground truth or the output of a validated dynamic model. The curves are neither smoothed nor calibrated." | |
| }, | |
| "footer": { | |
| "purpose": "Designed for research and methodology demonstration", | |
| "features": "Real backend results · No dummy scores · No external audio services" | |
| }, | |
| "common": { | |
| "loading": "Loading...", | |
| "error": "Error", | |
| "success": "Success", | |
| "cancel": "Cancel", | |
| "confirm": "Confirm", | |
| "close": "Close", | |
| "retry": "Retry", | |
| "pageTitle": "Music Emotion Lab · Overall Valence and Arousal", | |
| "pageDescription": "Upload music and explore overall valence and arousal using local CPU inference. This research demo does not simulate predictions.", | |
| "notFound": "Page not found.", | |
| "backHome": "Back to the main page" | |
| }, | |
| "home": { | |
| "heroEyebrow": "Music Emotion Research", | |
| "heroTitle": "Affect Atlas:", | |
| "heroHighlight": " mapping musical emotion", | |
| "heroDescription": "Explore how a research model scores a music clip along two dimensions: valence and arousal.", | |
| "ctaDemo": "Try the demo", | |
| "ctaResearch": "Explore the research", | |
| "featuresTitle": "What the demo shows", | |
| "featuresSubtitle": "From an audio clip to model scores you can inspect.", | |
| "feature1Title": "Audio analysis", | |
| "feature1Desc": "Upload a clip to extract music features using MERT.", | |
| "feature2Title": "Two emotion dimensions", | |
| "feature2Desc": "See overall valence and arousal scores from the prediction model.", | |
| "feature3Title": "Sliding window scores", | |
| "feature3Desc": "Explore how scores vary between windows and compare them with the overall result.", | |
| "workflowTitle": "How it works", | |
| "workflowSubtitle": "Follow the audio from upload to result.", | |
| "workflowStep1": "Select a music clip.", | |
| "workflowStep2": "Extract audio features on the CPU.", | |
| "workflowStep3": "Calculate valence and arousal scores.", | |
| "workflowStep4": "Explore and export the results.", | |
| "ctaSectionTitle": "Explore a music clip", | |
| "ctaSectionDesc": "Upload your own audio to see how the model scores it.", | |
| "ctaButton": "Open the demo" | |
| }, | |
| "errors": { | |
| "healthTimeout": "The health check timed out after 15 seconds. Check that the inference service is running.", | |
| "healthUnknown": "Could not check the inference service. Check that it is running, then recheck.", | |
| "network": "Could not reach the inference service. Check the connection and try again.", | |
| "modelUnavailable": "The inference model is not ready. Check the backend logs for details.", | |
| "pollDeadline": "Status checks stopped after 20 minutes. The task may still be running. Check the backend before uploading again.", | |
| "pollInterrupted": "Status check interrupted: {{detail}} You can resume without uploading again.", | |
| "requestTimeout": "The request timed out after 15 seconds.", | |
| "jobFailed": "The analysis failed. No prediction was generated. Check the backend logs or try another clip.", | |
| "uploadTimeout": "The upload timed out, and task creation was not confirmed. Check the backend before uploading again.", | |
| "uploadFailed": "Upload failed: {{detail}}", | |
| "uploadRejected": "The inference service could not accept this upload. Check the audio format and size, then try again.", | |
| "pollUnknown": "The inference service did not return a task status.", | |
| "dependencies": "Missing inference dependencies: {{value}}.", | |
| "missingHead": "Missing trained prediction-head weights. Follow the README to prepare the model assets.", | |
| "missingMert": "Missing the pinned MERT model. Run prepare_models.py.", | |
| "modelMismatch": "The MERT model revision does not match the one used in the paper.", | |
| "modelIncomplete": "The MERT model configuration is incomplete. Prepare the model assets again.", | |
| "modelManifest": "Could not read the model provenance record.", | |
| "audioEmpty": "The audio file is empty.", | |
| "audioChannels": "This audio sample rate or channel count is not supported.", | |
| "audioDuration": "The decoded clip is {{duration}} seconds long. Upload a clip between {{min}} and {{max}} seconds; the service does not trim it automatically.", | |
| "audioNonFinite": "The audio contains non-finite sample values.", | |
| "audioTooLong": "The decoded audio exceeds the allowed duration.", | |
| "audioNoSamples": "The audio contains no valid samples.", | |
| "audioDecode": "Could not decode the audio. Use a valid WAV, MP3, FLAC, or OGG file.", | |
| "audioResample": "The audio is invalid after resampling.", | |
| "invalidAssets": "The model assets did not pass verification. Check the backend logs and use the verified weights.", | |
| "invalidPrediction": "The model did not produce a valid prediction. Check the backend logs.", | |
| "serviceShutdown": "The service is shutting down. Wait for it to restart, then try again.", | |
| "cpuTimeout": "CPU processing timed out. Try a shorter clip.", | |
| "cpuUnavailable": "The CPU worker stopped or lost its connection. Try again.", | |
| "cpuFailed": "CPU inference failed. Check the backend dependencies and verified model assets.", | |
| "auth": "A valid demo access token is required.", | |
| "unsupportedFormat": "Only WAV, MP3, FLAC, and OGG are supported. Convert M4A files first.", | |
| "queueFull": "The service is busy. Try again in a moment.", | |
| "uploadTooLarge": "The upload exceeds the allowed size.", | |
| "invalidLength": "The upload request has an invalid length.", | |
| "uploadServerTimeout": "The service timed out while receiving the upload. Try again.", | |
| "jobMissing": "The task does not exist, has expired, or has an invalid access token." | |
| } | |
| } | |