Update app.py
Browse files
app.py
CHANGED
|
@@ -107,6 +107,15 @@ def create_app():
|
|
| 107 |
except:
|
| 108 |
gr.HTML('<div style="height: 120px;"></div>') # Placeholder if image not found
|
| 109 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 110 |
with gr.Column(elem_classes=["main-container"]):
|
| 111 |
# Section 1: General Information
|
| 112 |
gr.HTML('<div class="section-header">1. General information</div>')
|
|
@@ -305,15 +314,6 @@ def create_app():
|
|
| 305 |
</div>
|
| 306 |
""")
|
| 307 |
|
| 308 |
-
# Footer
|
| 309 |
-
gr.HTML("""
|
| 310 |
-
<div style="text-align: center; margin-top: 40px; padding: 20px; background: #f8f9fa; border-radius: 10px;">
|
| 311 |
-
<p style="color: #6c757d; margin: 0;">
|
| 312 |
-
This transparency report follows the guidelines provided by the AI Office.<br/>
|
| 313 |
-
For more information, see the <a href="https://digital-strategy.ec.europa.eu/en/library/explanatory-notice-and-template-public-summary-training-content-general-purpose-ai-models" class="dataset-link">Explanatory Notice and Template</a>
|
| 314 |
-
</p>
|
| 315 |
-
</div>
|
| 316 |
-
""")
|
| 317 |
|
| 318 |
return app
|
| 319 |
|
|
|
|
| 107 |
except:
|
| 108 |
gr.HTML('<div style="height: 120px;"></div>') # Placeholder if image not found
|
| 109 |
|
| 110 |
+
gr.HTML("""
|
| 111 |
+
<div style="text-align: center; margin-top: 40px; padding: 20px; background: #f8f9fa; border-radius: 10px;">
|
| 112 |
+
<p style="color: #6c757d; margin: 0;">
|
| 113 |
+
This Space contains the transparency report for the <a href="https://huggingface.co/HuggingFaceTB/SmolLM3-3B">SmolLM3-3B</a> GPAI model developped by <a href="https://huggingface.co/">Hugging Face</a> following the guidelines provided by the AI Office.<br/>
|
| 114 |
+
For more information, see the <a href="https://digital-strategy.ec.europa.eu/en/library/explanatory-notice-and-template-public-summary-training-content-general-purpose-ai-models" class="dataset-link">Explanatory Notice and Template</a>
|
| 115 |
+
</p>
|
| 116 |
+
</div>
|
| 117 |
+
""")
|
| 118 |
+
|
| 119 |
with gr.Column(elem_classes=["main-container"]):
|
| 120 |
# Section 1: General Information
|
| 121 |
gr.HTML('<div class="section-header">1. General information</div>')
|
|
|
|
| 314 |
</div>
|
| 315 |
""")
|
| 316 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 317 |
|
| 318 |
return app
|
| 319 |
|