mirror of
https://github.com/open-webui/llama-cpp-runner
synced 2025-05-12 07:40:36 +00:00
refac
This commit is contained in:
parent
79e2046a28
commit
ff84790ada
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
llama_cpp_cache
|
llama_cpp_cache
|
||||||
cache
|
cache
|
||||||
|
dist
|
6
hello.py
6
hello.py
@ -1,6 +0,0 @@
|
|||||||
def main():
|
|
||||||
print("Hello from llama-cpp-runner!")
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
main()
|
|
@ -1,7 +1,14 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "llama-cpp-runner"
|
name = "llama-cpp-runner"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
description = "Add your description here"
|
description = "A runner for llama-cpp"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
authors = [
|
||||||
|
{ name = "Timothy Jaeryang Baek", email = "tim@openwebui.com" }
|
||||||
|
]
|
||||||
requires-python = ">=3.11"
|
requires-python = ">=3.11"
|
||||||
dependencies = []
|
dependencies = []
|
||||||
|
|
||||||
|
[build-system]
|
||||||
|
requires = ["hatchling"]
|
||||||
|
build-backend = "hatchling.build"
|
||||||
|
5
src/llama_cpp_runner/__init__.py
Normal file
5
src/llama_cpp_runner/__init__.py
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
from llama_cpp_runner.main import LlamaCppServer
|
||||||
|
|
||||||
|
|
||||||
|
def hello() -> str:
|
||||||
|
return "Hello from llama-cpp-runner!"
|
0
src/llama_cpp_runner/py.typed
Normal file
0
src/llama_cpp_runner/py.typed
Normal file
Loading…
Reference in New Issue
Block a user