feat : selective import
This commit is contained in:
1 parent
ca50b1f2d0
commit
de76fe14ea
2 files changed
+2
-2
No files matched your search
@@ -2,9 +2,9 @@
|
||||
from .generator import GeneratorLLM
|
||||
|
||||
class LlamacppLLM(GeneratorLLM):
|
||||
from llama_cpp import Llama
|
||||
|
||||
def __init__(self):
|
||||
from llama_cpp import Llama
|
||||
"""
|
||||
Handle generation using llama.cpp
|
||||
"""
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
from .generator import GeneratorLLM
|
||||
|
||||
class OllamaLLM(GeneratorLLM):
|
||||
import ollama
|
||||
|
||||
def __init__(self):
|
||||
import ollama
|
||||
"""
|
||||
Handle generation using Ollama.
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user