Spaces:
Running
Running
File size: 17,307 Bytes
80e0598 0c5236b 80e0598 0c5236b 80e0598 0c5236b 80e0598 0c5236b 80e0598 0c5236b 80e0598 0c5236b 80e0598 0c5236b 80e0598 0c5236b 80e0598 0c5236b 80e0598 0c5236b 80e0598 0c5236b 80e0598 0c5236b 80e0598 0c5236b 80e0598 0c5236b 80e0598 0c5236b 80e0598 0c5236b 80e0598 0c5236b 80e0598 0c5236b 80e0598 0c5236b 80e0598 0c5236b 80e0598 0c5236b 80e0598 0c5236b |
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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI SBOM Generator</title>
<script type="text/javascript" src="https://gc.kis.v2.scr.kaspersky-labs.com/FD126C42-EBFA-4E12-B309-BB3FDD723AC1/main.js?attr=sNtwj5dTM60G_7sn_eHsQbX4DNdiDrF7mey5ebWGqdVpIgohIhrUTg5_VydlTt9lDjS8ye8EwVdOlUwxfsrw6-b5H53Jk9-QV87s-jqOrWakm-XDXj8L6TDffLZreOhsKBxjlf0Z_AklxjoQFUXcEyKvgdB0LBCwg2rxi2HDAPsMLpZEHjC51ABp1v4sqCsI7ZrLFmQy_Bbt56aFgfa15LNZTLuei9FNGDofjXNBEA7fJ9YlKpbYvMAlkynfJUvCAm6uiQebrledMmoWqE4PWk97S1s196n0-_Yk5_vNIS46PVtqgK0XJmPvoSsmfm8kcsn0BzTuLW-T2Wz8hH8QeZnFyhbnGLIZdkkfobLKYjDo8-U_yuoMUXjGcZ2fSZTfOiYIZCY2wxm-Gyyrv_bY9op81ECsHlfQrtLJUM--16TVpburtHQqsv5pOcSJzXfWJDemxWTPCldVikO8dk3yqQYodx1Mk_htRNp8_36bewrFNAyPdLUmX1LbyGMHHEVoVNe__hBdwZj7ayZfbJLjDQQdhNI64sEeCfDKYROU49tJqk-EXvDSkX3loPaZJptTb_Zh5scJH7WGTECgEtL2IVo-QGNyJV3tP092CSjChQzgPS5fkz_Okhdemw-hL6gbV1fuad0LqBfZWjBjwr5F7Vuc-HlUGPqnUH4FtEnoUdDlQ3NENpsC4dv60mSefNY8h9DEHIM47IRVGpiMlHiKCYcFGFVlkgVX5FU7JBE8JLNF9BBx3WCNg2w3ReulC1QieiaU-GyDrEg9vym7RxEn_E8Ac8vxFpKu69rNSKhgqwxpr3FhIHz3sE4uJJnuK8RFkKajj_MgmJC5-DfLLkpuYQ_ri2Mk9G6T1siL18QaZeku6CoQmr2zJL9oYz6Nmy1c4unxc1zXhoXHbTJT-xXdW2C0khgRMRxb83gXjk2Og3tM8s_lfcNGZTAw-e-5PfOX_DbnqATg0rF_O2NMFaaYOT6sTTDhKDFEjrAkwQX6L-epZ9J1l36rX02lHN9FXbAQ4uzPS9RCoMNTRJ7tYcBZnzMAS5wJvmrXiICK5mpNg4-l4jiao_dBpg724uuK7xZqMMkFQFy_zgY3WB98aY2o3G1zBPRFAbyjnxxiR0aoCwpM4J-FVvs8px4TCM7JlihR6c2Mdc0YIY7R-3E3HPrLx3k-z4fFuxqxthOH8FaTQf6_4eHn0st4Tm8KIuJxW1T9N0B6_sR7Ta4w2yH5-llgw2Uj3vCf0UqFJfbpKBpG3QJrw58T5BhakWz41QPwVj2-9ycKShWMQsAJggfvYXS4cwck87itW9gazBsafbk34Bl9hE4lPXMqhRAuZQ7hw289zBz1IWyF1r0NyMdrJCr0e2qPFMEw-KD66SDa8M9SRakJdzlf41CVaTce_2R8cnpDCf0kefrmADcn6pdinJ8jPud3z77EMiLhrWF0qGo_Pxh3Q7Oyggts6PYGoYL5OIEu6Z-KpXARCTqlmC6Eb0gSKpKt9Tur4KJ5sqvlbtaurt_Nr4ZfGeArobe2OgINoDlK-NAZHLj7f_kuo8ch17L_gpxBozDAdiml1W85YtLgNO_CRVsxaXkqKJNIqV-gF12YJVPm94t9LuML1h-KPgiTLs611bKGOBTD0ScA00CN4OkIrxKu7HJqJfCw3gaJfoLg2J44k0CpXYSFqu1fkBO4D2cUbc03s3dzU98Zb6RyKL3Yc1gcFazQsHb1_430X7e6" nonce="d3494592d4affc5716a763685fc2b1e3" charset="UTF-8"></script><link rel="stylesheet" crossorigin="anonymous" href="https://gc.kis.v2.scr.kaspersky-labs.com/E3E8934C-235A-4B0E-825A-35A08381A191/abn/main.css?attr=aHR0cHM6Ly9tYWlsLWF0dGFjaG1lbnQuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2F0dGFjaG1lbnQvdS8wLz91aT0yJmlrPTI5MzQwOTYwNGImYXR0aWQ9MC4zJnBlcm1tc2dpZD1tc2ctZjoxODM1MTAyND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1cEdWMmlVT1RoWVlGYTBxR3dUWTR3RE4tcTYxVGFONDFfbzlSMEFfYURjSTRmRXpJNFB6VC00R0dMVDFXUkoyblZuTTBudnV4NUpsUk90QjBpd3U3T3BJVUt2aU54amhmTFExTHFEVFJOSEpfRkxFWWJLUlNOWFJxZklaRmQxSkI4dGRka2FlY1ktanR4YXJoNDBXTFdsMmVUTTMwZUh6WnJjM2Y3UFNWYTdGNDZQQnRWc0s1dEJDSUhpQWdtOFVhUVRXMkJxWF9BMWFuSmRNRm1ZclZRdW9tSkUyTS1Mb2FXLVBtTENlQ01wVXJfR0trRWw2N1drM01FSHpEUjlLUmZ1V05WY2JMdUhKZjljU3p0UFBSLS1hNkFnOVdFM3M0SEhkVWxfQTFMZkxTdVREU2JwTVVVRkl2Q2xCdkk5clVkWjZvWXg3a2VHcWJIQzhLc0JpRDl2YWZaazV4RVFqYmhQQlA0MVFTdVE"/><style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
line-height: 1.6;
color: #333;
background-color: #f9f9f9;
}
.container {
max-width: 1000px;
margin: 0 auto;
padding: 0 20px;
}
/* Header styling */
.header {
background-color: #ffffff;
padding: 15px 20px;
border-bottom: 1px solid #e9ecef;
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 30px;
}
.header-left {
display: flex;
align-items: center;
}
.header img {
height: 60px;
margin-right: 15px;
}
.header-content {
display: flex;
flex-direction: column;
}
.header h1 {
margin: 0;
font-size: 28px;
color: #2c3e50;
font-weight: 600;
margin-bottom: 5px;
}
.header-right {
display: flex;
gap: 10px;
}
.github-button {
display: inline-block;
padding: 12px 20px;
background-color: #3498db;
color: white;
text-decoration: none;
border-radius: 6px;
font-weight: 500;
font-size: 15px;
transition: background-color 0.3s;
}
.github-button:hover {
background-color: #2980b9;
color: white;
text-decoration: none;
}
/* Content styling */
.content-section {
background-color: #ffffff;
border-radius: 8px;
padding: 25px;
margin-bottom: 30px;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.content-section h2 {
color: #2c3e50;
margin-top: 0;
margin-bottom: 20px;
font-size: 22px;
border-bottom: 2px solid #f0f0f0;
padding-bottom: 10px;
}
.content-section h3 {
color: #2c3e50;
margin-top: 0;
margin-bottom: 15px;
font-size: 18px;
}
.content-section p {
margin-bottom: 20px;
font-size: 16px;
line-height: 1.7;
color: #555;
}
/* Support section styling */
.support-section {
background-color: #f8f9fa;
border-left: 4px solid #6c757d;
padding: 20px;
margin: 30px 0;
border-radius: 8px;
text-align: center;
}
.support-section h3 {
margin-top: 0;
color: #495057;
margin-bottom: 15px;
}
.support-section p {
margin-bottom: 15px;
color: #6c757d;
}
/* Form styling */
.form-section {
background-color: #ffffff;
border-radius: 8px;
padding: 25px;
margin-bottom: 30px;
box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.form-section p {
margin-bottom: 20px;
font-size: 16px;
color: #555;
}
form {
margin: 20px 0;
}
input[type="text"] {
padding: 12px;
border: 1px solid #ddd;
border-radius: 6px;
margin-right: 10px;
width: 350px;
font-size: 15px;
transition: border-color 0.3s;
}
input[type="text"]:focus {
border-color: #3498db;
outline: none;
box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}
button {
padding: 12px 20px;
background-color: #3498db;
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
font-size: 15px;
font-weight: 500;
transition: background-color 0.3s;
}
button:hover {
background-color: #2980b9;
}
/* Style for disabled button */
button:disabled {
background-color: #bdc3c7;
cursor: not-allowed;
}
code {
background-color: #f8f9fa;
padding: 2px 5px;
border-radius: 4px;
font-family: monospace;
font-size: 14px;
color: #e74c3c;
}
a {
color: #3498db;
text-decoration: none;
transition: color 0.3s;
}
a:hover {
color: #2980b9;
text-decoration: underline;
}
/* Footer styling */
.footer {
text-align: center;
padding: 20px;
color: #7f8c8d;
font-size: 14px;
margin-top: 30px;
}
/* Mobile responsiveness */
@media (max-width: 768px) {
.container {
padding: 0 15px;
}
.header {
flex-direction: column;
text-align: center;
padding: 15px;
}
.header-left {
margin-bottom: 15px;
}
.header img {
margin-bottom: 10px;
margin-right: 0;
}
form {
flex-direction: column !important;
align-items: stretch !important;
}
input[type="text"] {
width: 100% !important;
max-width: none !important;
margin-right: 0 !important;
margin-bottom: 15px;
}
button {
width: 100%;
}
}
</style>
<!-- Invisible Captcha v2 -->
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
</head>
<body>
<!-- Header with logo and title -->
<div class="container">
<div class="header">
<div class="header-left">
<a href="https://aetheris.ai/" target="_blank">
<img src="https://huggingface.co/spaces/aetheris-ai/aibom-generator/resolve/main/templates/images/AetherisAI-logo.png" alt="Aetheris AI Logo">
</a>
<h1>AI SBOM Generator</h1>
</div>
</div>
</div>
<div class="container">
<!-- Form Section (Moved to top) -->
<div class="form-section">
<h2>Generate AI SBOM</h2>
<p>
Enter a model on Hugging Face, in a format <code><organization-or-username>/<model-name></code> (easy copy button), or model's URL, to generate AI SBOM in CycloneDX format. You can browse available models in the <a href="https://huggingface.co/models" target="_blank" rel="noopener noreferrer">Hugging Face models repository</a>.
</p>
<form id="sbom-form" action="/generate" method="post" style="display: flex; flex-direction: row; align-items: center; width: 100%;">
<input type="text" name="model_id" placeholder="e.g., openai/whisper-tiny" required style="flex: 1; max-width: 70%; margin-right: 10px;">
<input type="hidden" name="g_recaptcha_response" id="g-recaptcha-response">
<button
class="g-recaptcha"
data-sitekey="6Ld57kcrAAAAAL7X-BF2EYLN5Adsom2VnFOnGsYR"
data-callback="onSubmit"
data-action="submit"
id="generate-button"
type="button">Generate AI SBOM</button>
</form>
<div style="font-size: 12px; color: #777; margin-top: 10px;">
This site is protected by reCAPTCHA and the Google
<a href="https://policies.google.com/privacy">Privacy Policy</a> and
<a href="https://policies.google.com/terms">Terms of Service</a> apply.
</div>
</div>
<!-- Tool Description Section -->
<div class="content-section">
<h2>About This Tool</h2>
<p>This open-source tool helps you generate AI SBOMs for models hosted on Hugging Face. It automatically extracts and formats key information—such as model metadata, training datasets, dependencies, and configurations—into a standardized, machine-readable SBOM using the CycloneDX JSON format. While not all models have consistent metadata quality and much of the information is unstructured, this tool helps navigate those gaps by extracting available data and organizing it into a clear, standardized structure to support transparency, security, and compliance. <a href="https://aisuf.org/blogs/f/ai-sbom-generator" target="_blank" rel="noopener noreferrer">Read more</a>.</p>
</div>
<!-- Introduction Section -->
<div class="content-section">
<h2>Understanding AI SBOMs</h2>
<p>An AI SBOM (Artificial Intelligence Software Bill of Materials, also known as AIBOM / ML-BOM or SBOM for AI) is a detailed, structured inventory that lists the components and dependencies involved in building and operating an AI system—such as pre-trained models, datasets, libraries, and configuration parameters. Much like a traditional SBOM for software, an AI SBOM brings transparency to what goes into an AI system, enabling organizations to assess security, compliance, and ethical risks. It is essential for managing AI supply chain risks, supporting regulatory requirements, ensuring model provenance, and enabling incident response and audits. As AI systems grow more complex and widely adopted, AI SBOMs become critical for maintaining trust, accountability, and control over how AI technologies are developed, integrated, and deployed.</p>
</div>
<!-- Support Section -->
<div class="support-section">
<h3>🛠️ Support & Feedback</h3>
<p>If you encountered any problems, found a bug, or have suggestions for improvement, we'd love to hear from you!</p>
<a href="https://github.com/aetheris-ai/aibom-generator" target="_blank" class="github-button">
📋 View on GitHub
</a>
</div>
<!-- Social Section -->
<div class="content-section" style="text-align: center;">
<h3>🗣️ Help Us Spread the Word</h3>
<p>If you find this tool useful, share it with your network! <a href="https://sbom.aetheris.ai" target="_blank" rel="noopener noreferrer">https://sbom.aetheris.ai</a></p>
<a href="https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fsbom.aetheris.ai" target="_blank" rel="noopener noreferrer" style="text-decoration: none;">
<button style="background-color: #0077b5;">🔗 Share on LinkedIn</button>
</a>
<p style="margin-top: 10px; font-size: 14px;">
Follow us for updates:
<a href="https://www.linkedin.com/company/aetheris-ai" target="_blank" rel="noopener noreferrer">@Aetheris AI</a>
</p>
</div>
<!-- Info Section -->
<div class="content-section" style="text-align: center;">
<!-- Display the SBOM count -->
<div class="sbom-count">🚀 Generated AI SBOMs using this tool: <strong>{{ sbom_count if sbom_count else 'N/A' }}</strong></div>
</div>
<!-- Footer -->
<div class="footer">
<p>© 2025 AI SBOM Generator | Powered by Aetheris AI</p>
</div>
</div>
<!-- JavaScript for loading indicator and Captcha -->
<script>
function onSubmit(token) {
console.log("reCAPTCHA callback executed with token:", token.substring(0, 10) + "...");
// Set the token in the hidden input
document.getElementById('g-recaptcha-response').value = token;
console.log("Token set in input:", document.getElementById('g-recaptcha-response').value.substring(0, 10) + "...");
// Disable button and change text
var button = document.getElementById('generate-button');
button.disabled = true;
button.textContent = 'Generating...';
// Submit the form
console.log("Submitting form");
document.getElementById('sbom-form').submit();
}
// Add Enter key support for form submission
document.addEventListener('DOMContentLoaded', function() {
document.querySelector('input[name="model_id"]').addEventListener('keypress', function(e) {
if (e.key === 'Enter') {
e.preventDefault();
document.getElementById('generate-button').click();
}
});
});
</script>
</body>
</html>
|