Jeffrey Morgan 1 рік тому
батько
коміт
df5fdd6647
5 змінених файлів з 28 додано та 7 видалено
  1. 21 0
      LICENSE
  2. 2 2
      README.md
  3. 1 1
      build.py
  4. 4 4
      desktop/package.json
  5. 0 0
      ollama.py

+ 21 - 0
LICENSE

@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) Ollama
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.

+ 2 - 2
README.md

@@ -1,4 +1,4 @@
-# proto
+# ollama
 
 🙊
 
@@ -13,7 +13,7 @@ pip install -r requirements.txt
 Put your model in `models/` and run:
 
 ```
-python3 proto.py serve
+python3 ollama.py serve
 ```
 
 To run the app:

+ 1 - 1
build.py

@@ -7,7 +7,7 @@ site_packages_dir = site.getsitepackages()[0]
 llama_cpp_dir = os.path.join(site_packages_dir, "llama_cpp")
 
 args = [
-    "proto.py",
+    "ollama.py",
     "--paths",
     site_packages_dir,
     "--add-data",

+ 4 - 4
desktop/package.json

@@ -1,8 +1,8 @@
 {
-  "name": "client",
-  "productName": "client",
-  "version": "1.0.0",
-  "description": "Proto",
+  "name": "olama",
+  "productName": "ollama",
+  "version": "0.0.1",
+  "description": "Ollama",
   "main": ".webpack/main",
   "scripts": {
     "start": "electron-forge start",

+ 0 - 0
proto.py → ollama.py