Spaces:
Running
Running
Update templates/index.html
Browse files- templates/index.html +64 -12
templates/index.html
CHANGED
@@ -1,22 +1,74 @@
|
|
1 |
<!DOCTYPE html>
|
2 |
<html lang="en">
|
3 |
<head>
|
4 |
-
|
5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
<div class="header">
|
7 |
<div class="header" style="display: flex; align-items: center; gap: 10px;">
|
8 |
<a href="https://aetheris.ai/" target="_blank">
|
9 |
<img src="https://huggingface.co/spaces/aetheris-ai/aibom-generator/resolve/main/templates/images/AetherisAI-logo.png" alt="Aetheris AI Logo" style="height: 60px;">
|
10 |
</a>
|
11 |
-
|
12 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
</div>
|
14 |
-
<p>
|
15 |
-
Enter a model on Hugging Face, in a format <code><organization-or-username>/<model-name></code> to generate AI SBOM in CycloneDX format.
|
16 |
-
</p>
|
17 |
-
<form action="/generate" method="post">
|
18 |
-
<input type="text" name="model_id" placeholder="" required>
|
19 |
-
<button type="submit">Generate AI SBOM</button>
|
20 |
-
</form>
|
21 |
</body>
|
22 |
-
</html>
|
|
|
1 |
<!DOCTYPE html>
|
2 |
<html lang="en">
|
3 |
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<title>AI SBOM Generator</title>
|
6 |
+
<style>
|
7 |
+
body { font-family: Arial, sans-serif; margin: 0; padding: 0; }
|
8 |
+
.container { margin: 0 20px; }
|
9 |
+
|
10 |
+
/* Header styling */
|
11 |
+
.header {
|
12 |
+
background-color: #f8f9fa;
|
13 |
+
padding: 15px 20px;
|
14 |
+
border-bottom: 1px solid #e9ecef;
|
15 |
+
display: flex;
|
16 |
+
align-items: center;
|
17 |
+
margin-bottom: 20px;
|
18 |
+
}
|
19 |
+
.header img {
|
20 |
+
height: 40px;
|
21 |
+
margin-right: 15px;
|
22 |
+
}
|
23 |
+
.header h1 {
|
24 |
+
margin: 0;
|
25 |
+
font-size: 24px;
|
26 |
+
color: #333;
|
27 |
+
}
|
28 |
+
|
29 |
+
/* Form styling */
|
30 |
+
form {
|
31 |
+
margin: 20px 0;
|
32 |
+
}
|
33 |
+
input[type="text"] {
|
34 |
+
padding: 8px;
|
35 |
+
border: 1px solid #ddd;
|
36 |
+
border-radius: 4px;
|
37 |
+
margin-right: 10px;
|
38 |
+
width: 300px;
|
39 |
+
}
|
40 |
+
button {
|
41 |
+
padding: 8px 15px;
|
42 |
+
background-color: #3498db;
|
43 |
+
color: white;
|
44 |
+
border: none;
|
45 |
+
border-radius: 4px;
|
46 |
+
cursor: pointer;
|
47 |
+
}
|
48 |
+
button:hover {
|
49 |
+
background-color: #2980b9;
|
50 |
+
}
|
51 |
+
</style>
|
52 |
+
</head>
|
53 |
+
<body>
|
54 |
+
<!-- Header with logo and title -->
|
55 |
<div class="header">
|
56 |
<div class="header" style="display: flex; align-items: center; gap: 10px;">
|
57 |
<a href="https://aetheris.ai/" target="_blank">
|
58 |
<img src="https://huggingface.co/spaces/aetheris-ai/aibom-generator/resolve/main/templates/images/AetherisAI-logo.png" alt="Aetheris AI Logo" style="height: 60px;">
|
59 |
</a>
|
60 |
+
<h1 style="margin: 0;">AI SBOM Generator</h1>
|
61 |
+
</div>
|
62 |
+
</div>
|
63 |
+
|
64 |
+
<div class="container">
|
65 |
+
<p>
|
66 |
+
Enter a model on Hugging Face, in a format <code><organization-or-username>/<model-name></code> to generate AI SBOM in CycloneDX format.
|
67 |
+
</p>
|
68 |
+
<form action="/generate" method="post">
|
69 |
+
<input type="text" name="model_id" placeholder="e.g., openai/whisper-tiny" required>
|
70 |
+
<button type="submit">Generate AI SBOM</button>
|
71 |
+
</form>
|
72 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
</body>
|
74 |
+
</html>
|