Update llama_cpp.py - Fix c_char_p to Array[c_char_p] and c_float to Array[c_float]
This commit is contained in:
parent
5549a1cabd
commit
a8551477f5
1 changed files with 1 additions and 1 deletions
|
@ -748,7 +748,7 @@ def llama_get_vocab(
|
|||
return _lib.llama_get_vocab(ctx, strings, scores, capacity)
|
||||
|
||||
|
||||
_lib.llama_get_vocab.argtypes = [llama_context_p, c_char_p, c_float, c_int]
|
||||
_lib.llama_get_vocab.argtypes = [llama_context_p, Array[c_char_p], Array[c_float], c_int]
|
||||
_lib.llama_get_vocab.restype = c_int
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue