-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherror.html
More file actions
86 lines (79 loc) · 6.6 KB
/
Copy patherror.html
File metadata and controls
86 lines (79 loc) · 6.6 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-EWFFLXFK71"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-EWFFLXFK71');
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.11.338/pdf.min.js"></script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description"
content="Local Chat allows you to chat with a LLM locally within you browser powered by Google Gemini Nano">
<meta property="og:image" content="/static/embed.png">
<meta property="og:image:alt" content="Local Chat">
<meta http-equiv="origin-trial" content="AjiNdyXRbj4usAaAh+UzbhMmDPnl/zmKxutZxDVYwib0NN7SPMViH9tOEqJg0HFV+xrTkNdk5vYiH/KSEYXVCgIAAABceyJvcmlnaW4iOiJodHRwczovL2FpLmJvb29nbGUuYXBwOjQ0MyIsImZlYXR1cmUiOiJMYW5ndWFnZURldGVjdGlvbkFQSSIsImV4cGlyeSI6MTc0OTU5OTk5OX0=" />
<title>Local Chat</title>
<link rel="stylesheet" href="css/styles.css">
<script type="module" src="https://cdn.jsdelivr.net/npm/zero-md@3?register"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@200;400;500;600;700&display=swap"
rel="stylesheet">
<link
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
rel="stylesheet">
<link rel="apple-touch-icon" sizes="180x180" href="icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="icons/favicon-16x16.png">
<link rel="manifest" href="icons/site.webmanifest">
<link rel="mask-icon" href="icons/safari-pinned-tab.svg" color="#333333">
<meta name="msapplication-TileColor" content="#333333">
</head>
<body>
<div class="error_page_logo" id="welcome">
<span class="title">
<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_27_23)">
<path
d="M26.5807 0.0959687C25.1575 0.4363 23.8766 1.32735 23.0227 2.56492C22.7257 2.99807 22.3544 3.81487 22.2121 4.3594C22.0512 4.97818 21.9893 6.16006 22.0883 6.8036C22.1935 7.47189 22.5277 8.39388 22.8742 8.98172C23.4682 9.98416 24.681 11.0113 25.7391 11.4074C26.5064 11.6982 26.8653 11.7601 28.3875 11.8467C29.2167 11.8962 30.1882 11.9828 30.5533 12.0385C32.5334 12.3293 34.761 13.1771 36.5679 14.3218C41.58 17.4962 44.4202 23.0591 44.0614 29.0056C43.9252 31.2456 43.3869 33.2195 42.3597 35.2677C41.1221 37.7181 39.0368 40.02 36.6669 41.5484C34.1051 43.2005 31.1288 44.0606 27.973 44.0668C25.6587 44.0668 23.7776 43.6955 21.7418 42.8416C18.4746 41.4741 15.7334 39.0423 13.9389 35.905C12.6828 33.7022 12.0207 31.3508 11.8846 28.5848C11.8103 27.1121 11.7856 26.8955 11.5999 26.2458C11.3091 25.2558 10.7955 24.408 10.022 23.6593C9.46511 23.1271 9.11859 22.8858 8.46268 22.5826C7.57163 22.1618 7.05185 22.0628 5.88233 22.0628C5.02841 22.0628 4.7809 22.0876 4.36631 22.199C3.81559 22.3537 2.99261 22.7249 2.56565 23.0219C1.32808 23.8697 0.424654 25.1815 0.102887 26.5861C-0.0332462 27.1864 -0.0332462 29.6491 0.0966987 30.9115C0.566975 35.3481 2.18819 39.8776 4.61382 43.5161C5.67195 45.1126 6.68677 46.3439 8.14091 47.7981C11.3153 50.9848 15.0775 53.2805 19.4585 54.6975C21.0797 55.2173 23.0784 55.6319 25.0647 55.8547C26.4012 56.0032 29.5447 56.0032 30.8689 55.8547C35.2313 55.3658 39.569 53.8622 43.0404 51.6469C49.1416 47.7424 53.4793 41.6907 55.1995 34.686C55.7626 32.3842 55.9668 30.6082 55.9668 27.966C55.9668 25.8745 55.8925 24.9587 55.6017 23.2138C55.0077 19.7053 53.5164 15.8131 51.6538 12.8986C47.0253 5.66503 39.439 0.980834 30.9307 0.0897827C29.7303 -0.0339744 27.1067 -0.0277881 26.5807 0.0959687Z"
fill="url(#paint0_linear_27_23)" />
</g>
<defs>
<linearGradient id="paint0_linear_27_23" x1="12.3648" y1="55.966" x2="57.1583" y2="49.0801"
gradientUnits="userSpaceOnUse">
<stop stop-color="#425FC4" />
<stop offset="0.52" stop-color="#397BE1" />
<stop offset="1" stop-color="#3096FC" />
</linearGradient>
<clipPath id="clip0_27_23">
<rect width="56" height="56" fill="white" />
</clipPath>
</defs>
</svg>
<h1>Local Chat</h1>
</span>
</div>
<div class="wanning_container" id="error_container" style="display: none;">
<span class="title"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="none" viewBox="0 0 18 18">
<path fill="#D18282" d="m3.298 3.415.055-.063a.562.562 0 0 1 .732-.054l.063.054L9 8.204l4.853-4.852a.562.562 0 1 1 .795.795L9.796 9l4.852 4.852a.562.562 0 0 1 .054.732l-.054.064a.563.563 0 0 1-.732.054l-.063-.054L9 9.796l-4.852 4.852a.562.562 0 0 1-.795-.796L8.204 9 3.352 4.147a.562.562 0 0 1-.054-.732Z"/>
</svg>
AI Unsupported</span>
<p>Local Chat is currently unsupported on this browser/device to try and get it working follow the guide below.</p>
<a class="error_button">Guide</a>
</div>
<div class="wanning_container" id="download_container" style="display: none;">
<span class="title"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="none" viewBox="0 0 18 18">
<path fill="#D1AD82" d="M13.688 15.375a.562.562 0 1 1 0 1.125l-9.75.003a.562.562 0 1 1 0-1.125l9.75-.003ZM8.736 1.509l.076-.005a.563.563 0 0 1 .558.486l.005.076V12.33l2.79-2.79a.562.562 0 0 1 .733-.055l.063.055a.562.562 0 0 1 .054.732l-.054.063-3.748 3.748a.563.563 0 0 1-.732.054l-.064-.054-3.752-3.747a.563.563 0 0 1 .732-.85l.063.053 2.79 2.786V2.066a.562.562 0 0 1 .486-.557Z"/>
</svg>
Download Model</span>
<p>To use Local Chat you need to download Gemini Nano so we can run the AI locally on you machine. Click the button below to start the download.</p>
<a class="wanning_button" id="download_button">Download</a>
<div class="download_bar" id="download_bar"><span id="download_bar_progress"></span></div>
</div>
<script src="error_script.js"></script>
</body>
</html>