Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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/
|
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 |
# 解析输出
|