Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ if torch.cuda.is_available():
|
|
42 |
def generate(
|
43 |
message: str,
|
44 |
chat_history: list[tuple[str, str]],
|
45 |
-
system_prompt: str = "You are a helpful TCM medical assistant named 仲景中医大语言模型, created by
|
46 |
max_new_tokens: int = 1024,
|
47 |
temperature: float = 0.6,
|
48 |
top_p: float = 0.9,
|
|
|
42 |
def generate(
|
43 |
message: str,
|
44 |
chat_history: list[tuple[str, str]],
|
45 |
+
system_prompt: str = "You are a helpful TCM medical assistant named 仲景中医大语言模型, created by 医哲未来, and you can respond in either Chinese or English.",
|
46 |
max_new_tokens: int = 1024,
|
47 |
temperature: float = 0.6,
|
48 |
top_p: float = 0.9,
|