CMLL commited on
Commit
e75e07f
1 Parent(s): 08bcec8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def chat_with_model(user_input, history):
34
  f.write(prompt + "\n")
35
 
36
  # 执行命令并捕获输出
37
- command = f"./llama.cpp/build/bin/main -m models/ZhongJing1_5-1_8b-q4_0.gguf -n 256 --repeat_penalty 1.0 --color -i -r \"User:\" -f llama.cpp/prompts/TcmChat.txt"
38
  result = subprocess.run(command, shell=True, capture_output=True, text=True)
39
 
40
  # 解析输出
 
34
  f.write(prompt + "\n")
35
 
36
  # 执行命令并捕获输出
37
+ command = f"./llama.cpp/build/bin/main -m models/ZhongJing1_5-1_8b-q4_0.gguf -n 256 --repeat_penalty 1.0 --color -i -r \"User:\" -f llama.cpp/prompts/chat-with-bob.txt"
38
  result = subprocess.run(command, shell=True, capture_output=True, text=True)
39
 
40
  # 解析输出