likewendy commited on
Commit
d2baa2c
·
1 Parent(s): 54f79ea
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def respond(
26
  repo_id="matteogeniaccio/phi-4",
27
  filename="phi-4-Q4_K_M.gguf",
28
  verbose=True,
29
- main_gpu=0,
30
  n_gpu_layers=-1
31
  )
32
  # 使用llama-cpp-python的方式生成响应
 
26
  repo_id="matteogeniaccio/phi-4",
27
  filename="phi-4-Q4_K_M.gguf",
28
  verbose=True,
29
+ main_gpu=1,
30
  n_gpu_layers=-1
31
  )
32
  # 使用llama-cpp-python的方式生成响应