MMESA-ZeroGPU / ui_components.py
vitorcalvi's picture
pre-launch
efabbbd
raw
history blame
3.69 kB
# ui_components.py
CUSTOM_CSS = """
.main-tab > .tab-nav > button {
font-size: 20px;
font-weight: bold;
}
"""
HEADER_HTML = """
<div style="text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center;">
<div style="display: flex; align-items: center; justify-content: center;">
<a href="https://www.dyagnosys.com/">
<img src="https://www.dyagnosys.com/img/dyaglogo_transparent.webp" alt="Dyagnosys Logo" style="margin-right: 20px;"/>
</a>
<h1 style="margin: 10px;">Multi-Modal for Emotion and Sentiment Analysis (MMESA)</h1>
</div>
<a href="#disclaimer" style="color: #d32f2f; text-decoration: underline; margin-top: 10px; font-size: 20px;">Important Disclaimer</a>
</div>
"""
DISCLAIMER_HTML = '''
<div id="disclaimer" style="background-color: #f8f8f8; color: #333; padding: 20px; border: 1px solid #ddd; border-radius: 5px; margin-top: 20px; font-family: Arial, sans-serif;">
<h3 style="text-align: center; color: #d32f2f;">IMPORTANT DISCLAIMER</h3>
<div style="margin-bottom: 15px;">
<h4 style="color: #1976d2;">Not a Medical Device</h4>
<p>This software is not intended to be a medical device as defined by the FDA, EMA, or other regulatory bodies. It is not designed, intended, or authorized for use in the diagnosis of disease or other conditions, or in the cure, mitigation, treatment, or prevention of disease.</p>
</div>
<div style="margin-bottom: 15px;">
<h4 style="color: #1976d2;">Research and Educational Use Only</h4>
<p>This software is provided solely for research, educational, and informational purposes. It should not be relied upon for medical advice, diagnosis, or treatment.</p>
</div>
<div style="margin-bottom: 15px;">
<h4 style="color: #1976d2;">No Substitute for Professional Medical Advice</h4>
<p>The information provided by this software is not a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health provider with any questions you may have regarding a medical condition.</p>
</div>
<div style="margin-bottom: 15px;">
<h4 style="color: #1976d2;">Data Privacy and Security</h4>
<p>While we implement reasonable data protection measures, users should be aware of the inherent risks of transmitting information over the internet. By using this software, you acknowledge and accept these risks.</p>
</div>
<div style="margin-bottom: 15px;">
<h4 style="color: #1976d2;">No Warranty</h4>
<p>This software is provided "as is" without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose.</p>
</div>
<div style="margin-bottom: 15px;">
<h4 style="color: #1976d2;">Limitation of Liability</h4>
<p>In no event shall the creators, copyright holders, or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.</p>
</div>
<p style="font-weight: bold;">By using this software, you acknowledge that you have read, understood, and agree to be bound by this disclaimer.</p>
</div>
'''