CMLL commited on
Commit
8b1e6fa
1 Parent(s): 429fb43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 医哲未来. Feel free to respond in either Chinese or English.",
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,