Distribute and run LLMs with a single file.
C++ cross-platformggufllama-cpplocal-ailocal-inferencelocal-llmopen-source-aisingle-file-executablespeech-to-text
Fix translation bug from cpp to js in TS highlight
Emil Bayd57c145dabf3
diff --git a/llamafile/server/www/highlight_typescript.js b/llamafile/server/www/highlight_typescript.jsindex e8f403d2..f209169b 100644--- a/llamafile/server/www/highlight_typescript.js+++ b/llamafile/server/www/highlight_typescript.js@@ -205,7 +205,7 @@ class HighlightTypescript extends Highlighter {this.push("span", "comment");this.append("/*");this.state = HighlightTypescript.SLASH_STAR;- } else if (expect_ == HighlightTypescript.EXPECT_VALUE) {+ } else if (this.expect == HighlightTypescript.EXPECT_VALUE) {this.expect = HighlightTypescript.EXPECT_OPERATOR;this.push("span", "string");this.append('/');