Spaces:
Running
Running
Update templates/result.html
Browse files- templates/result.html +9 -7
templates/result.html
CHANGED
@@ -2,16 +2,18 @@
|
|
2 |
<html lang="en">
|
3 |
<head>
|
4 |
<meta charset="UTF-8">
|
5 |
-
<title>
|
6 |
</head>
|
7 |
<body>
|
8 |
-
<
|
9 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
<pre id="aibom-json">{{ aibom | tojson(indent=2) }}</pre>
|
11 |
-
|
12 |
-
<button onclick="downloadJSON()">Download JSON</button>
|
13 |
-
<br><br>
|
14 |
-
<a href="/">Generate Another</a>
|
15 |
|
16 |
<script>
|
17 |
function downloadJSON() {
|
|
|
2 |
<html lang="en">
|
3 |
<head>
|
4 |
<meta charset="UTF-8">
|
5 |
+
<title>AIBOM Generated</title>
|
6 |
</head>
|
7 |
<body>
|
8 |
+
<a href="/">Generate another AI SBOM</a>
|
9 |
+
<h2>AI SBOM is generated for {{ model_id }}</h2>
|
10 |
+
|
11 |
+
<h3>
|
12 |
+
Download AI SBOM in CycloneDX format for {{ model_id }}
|
13 |
+
<button onclick="downloadJSON()">Download JSON</button>
|
14 |
+
</h3>
|
15 |
+
|
16 |
<pre id="aibom-json">{{ aibom | tojson(indent=2) }}</pre>
|
|
|
|
|
|
|
|
|
17 |
|
18 |
<script>
|
19 |
function downloadJSON() {
|