diff options
author | Peter Sugihara <peter@campsh.com> | 2023-12-29 05:58:56 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-29 15:58:56 +0200 |
commit | afd997ab6011dfefe9e917425b04ef4d83614841 (patch) | |
tree | a71e5897a7fc20bcaa8727859d6a9e221d140f92 /examples/llama.swiftui/llama.cpp.swift | |
parent | c8255f8a6b2a3b3ebc6cb340cc2487f39fc95ffc (diff) |
llama.swiftui : fix infinite loop, ouput timings, buff UI (#4674)
* fix infinite loop
* slight UI simplification, clearer UX
* clearer UI text, add timings to completion log
Diffstat (limited to 'examples/llama.swiftui/llama.cpp.swift')
-rw-r--r-- | examples/llama.swiftui/llama.cpp.swift/LibLlama.swift | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/llama.swiftui/llama.cpp.swift/LibLlama.swift b/examples/llama.swiftui/llama.cpp.swift/LibLlama.swift index 464fb327..66244382 100644 --- a/examples/llama.swiftui/llama.cpp.swift/LibLlama.swift +++ b/examples/llama.swiftui/llama.cpp.swift/LibLlama.swift @@ -1,5 +1,7 @@ import Foundation +// To use this in your own project, add llama.cpp as a swift package dependency +// and uncomment this import line. // import llama enum LlamaError: Error { |