mirror of
https://github.com/ollama/ollama.git
synced 2025-08-28 12:01:05 +02:00
fix build
This commit is contained in:
@@ -86,7 +86,6 @@ def unload(model):
|
||||
def generate(model, prompt):
|
||||
# auto load
|
||||
error = load(model)
|
||||
print(error)
|
||||
if error is not None:
|
||||
return error
|
||||
generated = llms[model](
|
||||
|
@@ -1,7 +1,7 @@
|
||||
from difflib import SequenceMatcher
|
||||
import json
|
||||
|
||||
with open("model_prompts.json", "r") as f:
|
||||
with open("./model_prompts.json", "r") as f:
|
||||
model_prompts = json.load(f)
|
||||
|
||||
|
Reference in New Issue
Block a user