OCEANAI / app /description.py
DmitryRyumin's picture
Summary
32eee31
raw
history blame
1.08 kB
"""
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>
"""
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],
),
]