proto
-> ollama
This commit is contained in:
parent
e0543756b3
commit
df5fdd6647
5 changed files with 28 additions and 7 deletions
21
LICENSE
Normal file
21
LICENSE
Normal file
|
@ -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.
|
|
@ -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:
|
||||
|
|
2
build.py
2
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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue