Distribute and run LLMs with a single file.
C++ cross-platformggufllama-cpplocal-ailocal-inferencelocal-llmopen-source-aisingle-file-executablespeech-to-text
Add svg for modal close button
Justine Tunneyfe514ef73d90
diff --git a/llamafile/server/www/close.svg b/llamafile/server/www/close.svgnew file mode 100644index 00000000..dc156c14--- /dev/null+++ b/llamafile/server/www/close.svg@@ -0,0 +1,3 @@+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">+ <path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/>+</svg>diff --git a/llamafile/server/www/index.html b/llamafile/server/www/index.htmlindex 728fe1b3..b02dca84 100644--- a/llamafile/server/www/index.html+++ b/llamafile/server/www/index.html@@ -33,7 +33,7 @@<button class="stop-button" id="stop-button" style="display:none">Stop</button><button class="settings-button" id="settings-button" title="Settings"><img src="gear.svg" alt="[settings]" width="30" height="30"></button><button class="redo-button" id="redo-button" title="Redo last message"><img src="redo.svg" alt="[redo]" width="30" height="30"></button>- <button class="upload-button" id="upload-button" title="Upload"><img src="paperclip.svg" alt="[upload]" width="30" height="30"></button>+ <button class="upload-button" id="upload-button" title="Upload"><img src="upload.svg" alt="[upload]" width="30" height="30"></button><input type="file" id="file-upload" style="display: none"></div></div>@@ -65,7 +65,7 @@<div class="settings-panel"><div class="settings-header"><h2>Model Settings</h2>- <button id="close-settings">×</button>+ <button id="close-settings"><img src="close.svg" alt="[x]" width="24" height="24"></button></div><div class="setting-item"><label>temperature = <span id="temp-value">0.8</span></label>diff --git a/llamafile/server/www/paperclip.svg b/llamafile/server/www/upload.svgsimilarity index 100%rename from llamafile/server/www/paperclip.svgrename to llamafile/server/www/upload.svg