mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2025-09-09 13:55:27 +00:00
modify moeinfer param
This commit is contained in:
parent
ee24a27001
commit
027b11266c
2 changed files with 3 additions and 1 deletions
|
@ -81,8 +81,10 @@ def local_chat():
|
|||
content = "hi"
|
||||
else:
|
||||
content = open(config.prompt_file, "r").read()
|
||||
print("User: ", content)
|
||||
elif os.path.isfile(content):
|
||||
content = open(content, "r").read()
|
||||
print("User: ", content)
|
||||
messages = his_content + [{"role": "user", "content": content}]
|
||||
|
||||
async def async_inference(messages):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue