Spaces:
Runtime error
Runtime error
""" | |
File: description.py | |
Author: Elena Ryumina and Dmitry Ryumin | |
Description: Project description for the Gradio app. | |
License: MIT License | |
""" | |
# Importing necessary components for the Gradio app | |
from app.config import config_data | |
DESCRIPTION_STATIC = f"""\ | |
# Static Facial Expression Recognition | |
<div class="app-flex-container"> | |
<img src="https://img.shields.io/badge/version-v{config_data.APP_VERSION}-rc0" alt="Version"> | |
<a href="https://visitorbadge.io/status?path=https%3A%2F%2Fhuggingface.co%2Fspaces%2FElenaRyumina%2FFacial_Expression_Recognition"><img src="https://api.visitorbadge.io/api/combined?path=https%3A%2F%2Fhuggingface.co%2Fspaces%2FElenaRyumina%2FFacial_Expression_Recognition&countColor=%23263759&style=flat" /></a> | |
<a href="https://paperswithcode.com/paper/in-search-of-a-robust-facial-expressions"><img src="https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/in-search-of-a-robust-facial-expressions/facial-expression-recognition-on-affectnet" /></a> | |
</div> | |
""" | |
DESCRIPTION_DYNAMIC = f"""\ | |
# Dynamic Facial Expression Recognition | |
<div class="app-flex-container"> | |
<img src="https://img.shields.io/badge/version-v{config_data.APP_VERSION}-rc0" alt="Version"> | |
<a href="https://paperswithcode.com/paper/in-search-of-a-robust-facial-expressions"><img src="https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/in-search-of-a-robust-facial-expressions/facial-expression-recognition-on-affectnet" /></a> | |
</div> | |
""" | |
DESCRIPTION_SLEEP_QUALITY = """ | |
# Sleep Quality Analysis | |
This tab analyzes sleep quality based on facial features, focusing on skin tone and eye bags. | |
## How to use: | |
1. Upload a video of a person's face. | |
2. Click 'Submit' to process the video. | |
3. View the results, including: | |
- Original video | |
- Processed face video | |
- Sleep quality analysis video | |
- Eye bags detection image | |
- Sleep quality statistics over time | |
The analysis provides insights into potential sleep issues based on visual cues. | |
Note: This analysis is for informational purposes only and should not be considered a medical diagnosis. Always consult with a healthcare professional for sleep-related concerns. | |
""" |