fix : llama_cpp not defined
This commit is contained in:
1 parent
58d52ad61f
commit
cf1d3d0ba1
1 file changed
+1
-1
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
from .generator import GeneratorLLM
|
from .generator import GeneratorLLM
|
||||||
|
from llama_cpp import Llama
|
||||||
|
|
||||||
class LlamacppLLM(GeneratorLLM):
|
class LlamacppLLM(GeneratorLLM):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
from llama_cpp import Llama
|
|
||||||
"""
|
"""
|
||||||
Handle generation using llama.cpp
|
Handle generation using llama.cpp
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in new issue
Block a user