Remove commented out code
This commit is contained in:
parent
f28bf3f13d
commit
caff127836
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue