Spaces:
Running
Running
File size: 1,405 Bytes
f51c1fd 1bf4da3 f51c1fd aa6222e f51c1fd aa6222e b4828f0 f51c1fd 87a92fb f51c1fd aa6222e 13aeb09 aa6222e 13aeb09 aa6222e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
"""
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 = """\
<h1><a href="https://github.com/aimclub/OCEANAI" target="_blank">OCEAN-AI</a> {description}.</h1>
<div class="app-flex-container">
<img src="https://img.shields.io/badge/version-v{version}-rc0" alt="{version_label}">
<a href='https://github.com/DmitryRyumin/OCEANAI' target='_blank'><img src='https://img.shields.io/github/stars/DmitryRyumin/OCEANAI?style=flat' alt='GitHub' /></a>
</div>
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],
),
]
|