andreer commited on
Commit
96db22e
β€’
1 Parent(s): 87544bc

Upload folder using huggingface_hub

Browse files
colpali-with-snippets/security/clients.pem ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIBNzCB36ADAgECAhEA7NcEr8GPdHvOjOU25NL76DAKBggqhkjOPQQDAjAeMRww
3
+ GgYDVQQDExNjbG91ZC52ZXNwYS5leGFtcGxlMB4XDTI0MTAxMTA3MTk1OFoXDTM0
4
+ MTAwOTA3MTk1OFowHjEcMBoGA1UEAxMTY2xvdWQudmVzcGEuZXhhbXBsZTBZMBMG
5
+ ByqGSM49AgEGCCqGSM49AwEHA0IABF2UNuCudYzj+huI3Fl/uNDRYtbYYo2ex8Od
6
+ Pij13s9gXQ7gEhHhDJuFPRfk0zBLr4sxQiDom8OHMvSiNbuhg2cwCgYIKoZIzj0E
7
+ AwIDRwAwRAIgFcoy6ECnq07Hd9mYFEEETQRCr645aY47jwLbwUsEU9oCIARkTAyI
8
+ cYe6Z1vAmA3IGPIn/gAPaSVVJiSe4QhzmqW/
9
+ -----END CERTIFICATE-----
frontend/app.py CHANGED
@@ -197,7 +197,8 @@ def Search(request, search_results=[]):
197
 
198
  def LoadingMessage():
199
  return Div(
200
- P("Loading... Please wait.", cls="text-base text-center"),
 
201
  cls="p-10 text-center text-muted-foreground",
202
  id="loading-indicator",
203
  )
 
197
 
198
  def LoadingMessage():
199
  return Div(
200
+ P(Lucide(icon="loader-circle", size="50", cls="animate-rotate htmx-indicator")),
201
+ P("Retrieving search results", cls="text-base text-center"),
202
  cls="p-10 text-center text-muted-foreground",
203
  id="loading-indicator",
204
  )
globals.css CHANGED
@@ -148,6 +148,15 @@
148
  }
149
  }
150
 
 
 
 
 
 
 
 
 
 
151
  .animate-fade-in {
152
  animation: fade-in 1s ease-out forwards;
153
  }
@@ -156,6 +165,11 @@
156
  animation: slide-up 1s ease-out forwards;
157
  }
158
 
 
 
 
 
 
159
  .sim-map-button.active {
160
  background-color: #61D790;
161
  color: #2E2F27;
 
148
  }
149
  }
150
 
151
+ @keyframes rotate {
152
+ from {
153
+ transform: rotate(0deg);
154
+ }
155
+ to {
156
+ transform: rotate(360deg);
157
+ }
158
+ }
159
+
160
  .animate-fade-in {
161
  animation: fade-in 1s ease-out forwards;
162
  }
 
165
  animation: slide-up 1s ease-out forwards;
166
  }
167
 
168
+ .animate-rotate {
169
+ animation: rotate 2s linear infinite;
170
+ display: inline;
171
+ }
172
+
173
  .sim-map-button.active {
174
  background-color: #61D790;
175
  color: #2E2F27;
icons.py CHANGED
@@ -1 +1 @@
1
- ICONS = {"chevrons-right": "<path d=\"m6 17 5-5-5-5\"></path><path d=\"m13 17 5-5-5-5\"></path>", "moon": "<path d=\"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z\"></path>", "sun": "<circle cx=\"12\" cy=\"12\" r=\"4\"></circle><path d=\"M12 2v2\"></path><path d=\"M12 20v2\"></path><path d=\"m4.93 4.93 1.41 1.41\"></path><path d=\"m17.66 17.66 1.41 1.41\"></path><path d=\"M2 12h2\"></path><path d=\"M20 12h2\"></path><path d=\"m6.34 17.66-1.41 1.41\"></path><path d=\"m19.07 4.93-1.41 1.41\"></path>", "github": "<path d=\"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4\"></path><path d=\"M9 18c-4.51 2-5-2-7-2\"></path>", "slack": "<rect height=\"8\" rx=\"1.5\" width=\"3\" x=\"13\" y=\"2\"></rect><path d=\"M19 8.5V10h1.5A1.5 1.5 0 1 0 19 8.5\"></path><rect height=\"8\" rx=\"1.5\" width=\"3\" x=\"8\" y=\"14\"></rect><path d=\"M5 15.5V14H3.5A1.5 1.5 0 1 0 5 15.5\"></path><rect height=\"3\" rx=\"1.5\" width=\"8\" x=\"14\" y=\"13\"></rect><path d=\"M15.5 19H14v1.5a1.5 1.5 0 1 0 1.5-1.5\"></path><rect height=\"3\" rx=\"1.5\" width=\"8\" x=\"2\" y=\"8\"></rect><path d=\"M8.5 5H10V3.5A1.5 1.5 0 1 0 8.5 5\"></path>", "settings": "<path d=\"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z\"></path><circle cx=\"12\" cy=\"12\" r=\"3\"></circle>", "arrow-right": "<path d=\"M5 12h14\"></path><path d=\"m12 5 7 7-7 7\"></path>", "search": "<circle cx=\"11\" cy=\"11\" r=\"8\"></circle><path d=\"m21 21-4.3-4.3\"></path>", "file-search": "<path d=\"M14 2v4a2 2 0 0 0 2 2h4\"></path><path d=\"M4.268 21a2 2 0 0 0 1.727 1H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3\"></path><path d=\"m9 18-1.5-1.5\"></path><circle cx=\"5\" cy=\"14\" r=\"3\"></circle>", "message-circle-question": "<path d=\"M7.9 20A9 9 0 1 0 4 16.1L2 22Z\"></path><path d=\"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3\"></path><path d=\"M12 17h.01\"></path>", "text-search": "<path d=\"M21 6H3\"></path><path d=\"M10 12H3\"></path><path d=\"M10 18H3\"></path><circle cx=\"17\" cy=\"15\" r=\"3\"></circle><path d=\"m21 19-1.9-1.9\"></path>", "maximize": "<path d=\"M8 3H5a2 2 0 0 0-2 2v3\"></path><path d=\"M21 8V5a2 2 0 0 0-2-2h-3\"></path><path d=\"M3 16v3a2 2 0 0 0 2 2h3\"></path><path d=\"M16 21h3a2 2 0 0 0 2-2v-3\"></path>", "expand": "<path d=\"m21 21-6-6m6 6v-4.8m0 4.8h-4.8\"></path><path d=\"M3 16.2V21m0 0h4.8M3 21l6-6\"></path><path d=\"M21 7.8V3m0 0h-4.8M21 3l-6 6\"></path><path d=\"M3 7.8V3m0 0h4.8M3 3l6 6\"></path>", "fullscreen": "<path d=\"M3 7V5a2 2 0 0 1 2-2h2\"></path><path d=\"M17 3h2a2 2 0 0 1 2 2v2\"></path><path d=\"M21 17v2a2 2 0 0 1-2 2h-2\"></path><path d=\"M7 21H5a2 2 0 0 1-2-2v-2\"></path><rect height=\"8\" rx=\"1\" width=\"10\" x=\"7\" y=\"8\"></rect>", "images": "<path d=\"M18 22H4a2 2 0 0 1-2-2V6\"></path><path d=\"m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18\"></path><circle cx=\"12\" cy=\"8\" r=\"2\"></circle><rect height=\"16\" rx=\"2\" width=\"16\" x=\"6\" y=\"2\"></rect>", "circle": "<circle cx=\"12\" cy=\"12\" r=\"10\"></circle>"}
 
1
+ ICONS = {"chevrons-right": "<path d=\"m6 17 5-5-5-5\"></path><path d=\"m13 17 5-5-5-5\"></path>", "moon": "<path d=\"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z\"></path>", "sun": "<circle cx=\"12\" cy=\"12\" r=\"4\"></circle><path d=\"M12 2v2\"></path><path d=\"M12 20v2\"></path><path d=\"m4.93 4.93 1.41 1.41\"></path><path d=\"m17.66 17.66 1.41 1.41\"></path><path d=\"M2 12h2\"></path><path d=\"M20 12h2\"></path><path d=\"m6.34 17.66-1.41 1.41\"></path><path d=\"m19.07 4.93-1.41 1.41\"></path>", "github": "<path d=\"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4\"></path><path d=\"M9 18c-4.51 2-5-2-7-2\"></path>", "slack": "<rect height=\"8\" rx=\"1.5\" width=\"3\" x=\"13\" y=\"2\"></rect><path d=\"M19 8.5V10h1.5A1.5 1.5 0 1 0 19 8.5\"></path><rect height=\"8\" rx=\"1.5\" width=\"3\" x=\"8\" y=\"14\"></rect><path d=\"M5 15.5V14H3.5A1.5 1.5 0 1 0 5 15.5\"></path><rect height=\"3\" rx=\"1.5\" width=\"8\" x=\"14\" y=\"13\"></rect><path d=\"M15.5 19H14v1.5a1.5 1.5 0 1 0 1.5-1.5\"></path><rect height=\"3\" rx=\"1.5\" width=\"8\" x=\"2\" y=\"8\"></rect><path d=\"M8.5 5H10V3.5A1.5 1.5 0 1 0 8.5 5\"></path>", "settings": "<path d=\"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z\"></path><circle cx=\"12\" cy=\"12\" r=\"3\"></circle>", "arrow-right": "<path d=\"M5 12h14\"></path><path d=\"m12 5 7 7-7 7\"></path>", "search": "<circle cx=\"11\" cy=\"11\" r=\"8\"></circle><path d=\"m21 21-4.3-4.3\"></path>", "file-search": "<path d=\"M14 2v4a2 2 0 0 0 2 2h4\"></path><path d=\"M4.268 21a2 2 0 0 0 1.727 1H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v3\"></path><path d=\"m9 18-1.5-1.5\"></path><circle cx=\"5\" cy=\"14\" r=\"3\"></circle>", "message-circle-question": "<path d=\"M7.9 20A9 9 0 1 0 4 16.1L2 22Z\"></path><path d=\"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3\"></path><path d=\"M12 17h.01\"></path>", "text-search": "<path d=\"M21 6H3\"></path><path d=\"M10 12H3\"></path><path d=\"M10 18H3\"></path><circle cx=\"17\" cy=\"15\" r=\"3\"></circle><path d=\"m21 19-1.9-1.9\"></path>", "maximize": "<path d=\"M8 3H5a2 2 0 0 0-2 2v3\"></path><path d=\"M21 8V5a2 2 0 0 0-2-2h-3\"></path><path d=\"M3 16v3a2 2 0 0 0 2 2h3\"></path><path d=\"M16 21h3a2 2 0 0 0 2-2v-3\"></path>", "expand": "<path d=\"m21 21-6-6m6 6v-4.8m0 4.8h-4.8\"></path><path d=\"M3 16.2V21m0 0h4.8M3 21l6-6\"></path><path d=\"M21 7.8V3m0 0h-4.8M21 3l-6 6\"></path><path d=\"M3 7.8V3m0 0h4.8M3 3l6 6\"></path>", "fullscreen": "<path d=\"M3 7V5a2 2 0 0 1 2-2h2\"></path><path d=\"M17 3h2a2 2 0 0 1 2 2v2\"></path><path d=\"M21 17v2a2 2 0 0 1-2 2h-2\"></path><path d=\"M7 21H5a2 2 0 0 1-2-2v-2\"></path><rect height=\"8\" rx=\"1\" width=\"10\" x=\"7\" y=\"8\"></rect>", "images": "<path d=\"M18 22H4a2 2 0 0 1-2-2V6\"></path><path d=\"m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18\"></path><circle cx=\"12\" cy=\"8\" r=\"2\"></circle><rect height=\"16\" rx=\"2\" width=\"16\" x=\"6\" y=\"2\"></rect>", "circle": "<circle cx=\"12\" cy=\"12\" r=\"10\"></circle>", "loader-circle": "<path d=\"M21 12a9 9 0 1 1-6.219-8.56\"></path>"}
output.css CHANGED
@@ -930,10 +930,6 @@ body {
930
  min-height: 80px;
931
  }
932
 
933
- .min-h-screen {
934
- min-height: 100vh;
935
- }
936
-
937
  .w-10 {
938
  width: 2.5rem;
939
  }
@@ -1293,11 +1289,6 @@ body {
1293
  background-color: rgb(0 0 0 / 0.8);
1294
  }
1295
 
1296
- .bg-blue-500 {
1297
- --tw-bg-opacity: 1;
1298
- background-color: rgb(59 130 246 / var(--tw-bg-opacity));
1299
- }
1300
-
1301
  .bg-border {
1302
  background-color: hsl(var(--border));
1303
  }
@@ -1334,16 +1325,6 @@ body {
1334
  background-color: hsl(var(--primary));
1335
  }
1336
 
1337
- .bg-red-300 {
1338
- --tw-bg-opacity: 1;
1339
- background-color: rgb(252 165 165 / var(--tw-bg-opacity));
1340
- }
1341
-
1342
- .bg-red-500 {
1343
- --tw-bg-opacity: 1;
1344
- background-color: rgb(239 68 68 / var(--tw-bg-opacity));
1345
- }
1346
-
1347
  .bg-secondary {
1348
  background-color: hsl(var(--secondary));
1349
  }
@@ -1494,11 +1475,6 @@ body {
1494
  line-height: 2rem;
1495
  }
1496
 
1497
- .text-3xl {
1498
- font-size: 1.875rem;
1499
- line-height: 2.25rem;
1500
- }
1501
-
1502
  .text-5xl {
1503
  font-size: 3rem;
1504
  line-height: 1;
@@ -1581,16 +1557,6 @@ body {
1581
  color: hsl(var(--foreground) / 0.5);
1582
  }
1583
 
1584
- .text-gray-800 {
1585
- --tw-text-opacity: 1;
1586
- color: rgb(31 41 55 / var(--tw-text-opacity));
1587
- }
1588
-
1589
- .text-gray-900 {
1590
- --tw-text-opacity: 1;
1591
- color: rgb(17 24 39 / var(--tw-text-opacity));
1592
- }
1593
-
1594
  .text-muted-foreground {
1595
  color: hsl(var(--muted-foreground));
1596
  }
@@ -1937,6 +1903,16 @@ body {
1937
  }
1938
  }
1939
 
 
 
 
 
 
 
 
 
 
 
1940
  .animate-fade-in {
1941
  animation: fade-in 1s ease-out forwards;
1942
  }
@@ -1945,6 +1921,11 @@ body {
1945
  animation: slide-up 1s ease-out forwards;
1946
  }
1947
 
 
 
 
 
 
1948
  .sim-map-button.active {
1949
  background-color: #61D790;
1950
  color: #2E2F27;
 
930
  min-height: 80px;
931
  }
932
 
 
 
 
 
933
  .w-10 {
934
  width: 2.5rem;
935
  }
 
1289
  background-color: rgb(0 0 0 / 0.8);
1290
  }
1291
 
 
 
 
 
 
1292
  .bg-border {
1293
  background-color: hsl(var(--border));
1294
  }
 
1325
  background-color: hsl(var(--primary));
1326
  }
1327
 
 
 
 
 
 
 
 
 
 
 
1328
  .bg-secondary {
1329
  background-color: hsl(var(--secondary));
1330
  }
 
1475
  line-height: 2rem;
1476
  }
1477
 
 
 
 
 
 
1478
  .text-5xl {
1479
  font-size: 3rem;
1480
  line-height: 1;
 
1557
  color: hsl(var(--foreground) / 0.5);
1558
  }
1559
 
 
 
 
 
 
 
 
 
 
 
1560
  .text-muted-foreground {
1561
  color: hsl(var(--muted-foreground));
1562
  }
 
1903
  }
1904
  }
1905
 
1906
+ @keyframes rotate {
1907
+ from {
1908
+ transform: rotate(0deg);
1909
+ }
1910
+
1911
+ to {
1912
+ transform: rotate(360deg);
1913
+ }
1914
+ }
1915
+
1916
  .animate-fade-in {
1917
  animation: fade-in 1s ease-out forwards;
1918
  }
 
1921
  animation: slide-up 1s ease-out forwards;
1922
  }
1923
 
1924
+ .animate-rotate {
1925
+ animation: rotate 2s linear infinite;
1926
+ display: inline;
1927
+ }
1928
+
1929
  .sim-map-button.active {
1930
  background-color: #61D790;
1931
  color: #2E2F27;