mirror of
https://github.com/abetlen/llama-cpp-python.git
synced 2023-09-07 17:34:22 +03:00
Remove commented out code
This commit is contained in:
@@ -94,6 +94,4 @@ CreateEmbeddingResponse = create_model_from_typeddict(llama_cpp.Embedding)
|
|||||||
response_model=CreateEmbeddingResponse,
|
response_model=CreateEmbeddingResponse,
|
||||||
)
|
)
|
||||||
def create_embedding(request: CreateEmbeddingRequest):
|
def create_embedding(request: CreateEmbeddingRequest):
|
||||||
# print(request)
|
|
||||||
# return llama.create_embedding(**request.dict(exclude={"model", "user"}))
|
|
||||||
return llama.create_embedding(request.input)
|
return llama.create_embedding(request.input)
|
||||||
|
|||||||
Reference in New Issue
Block a user