CMLL commited on
Commit
4608929
·
verified ·
1 Parent(s): cdddf91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,7 +21,7 @@ from llama_cpp import Llama
21
  llm = Llama(
22
  model_path=model_path,
23
  n_ctx=2048,
24
- n_gpu_layers=100, # CPUで実行する場合は削除
25
  )
26
 
27
  history = []
@@ -63,7 +63,7 @@ demo = gr.ChatInterface(
63
  generate_text,
64
  title="ZhongJingGPT-V2-1_8B-GGUF chatbot using llama-cpp-python",
65
  description="",
66
- examples=["日本の四国にある県名を挙げてください。"],
67
  cache_examples=True,
68
  retry_btn=None,
69
  undo_btn="Remove last",
 
21
  llm = Llama(
22
  model_path=model_path,
23
  n_ctx=2048,
24
+ # n_gpu_layers=100, # CPUで実行する場合は削除
25
  )
26
 
27
  history = []
 
63
  generate_text,
64
  title="ZhongJingGPT-V2-1_8B-GGUF chatbot using llama-cpp-python",
65
  description="",
66
+ examples=["我发热,咳嗽,咽痛,该怎么办"],
67
  cache_examples=True,
68
  retry_btn=None,
69
  undo_btn="Remove last",