Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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",
|