""" 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 TEMPLATE = """\

OCEAN-AI {description}.

{version_label} GitHub
The models used in OCEAN-AI were trained on 15-second clips from the ChaLearn First Impression v2 dataset. For more reliable predictions, 15-second videos are recommended, but OCEAN-AI can analyze videos of any length. Due to limited computational resources on HuggingFace, we provide six 3-second videos as examples. """ DESCRIPTIONS = [ TEMPLATE.format( description=config_data.InformationMessages_DESCRIPTIONS[0], version=config_data.AppSettings_APP_VERSION, version_label=config_data.Labels_APP_VERSION[0], ), TEMPLATE.format( description=config_data.InformationMessages_DESCRIPTIONS[1], version=config_data.AppSettings_APP_VERSION, version_label=config_data.Labels_APP_VERSION[1], ), ]