SkyNetWalker commited on
Commit
6a13fe4
·
verified ·
1 Parent(s): cec654d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -29,7 +29,12 @@ AVAILABLE_MODELS = [
29
 
30
 
31
  # Default System Prompt
32
- DEFAULT_SYSTEM_PROMPT = "Answer everything in simple, smart, relevant and accurate style. No chatty!"
 
 
 
 
 
33
 
34
  # --- Gradio Interface ---
35
  with gr.Blocks(theme=gr.themes.Default(primary_hue="blue", secondary_hue="neutral")) as demo:
 
29
 
30
 
31
  # Default System Prompt
32
+ DEFAULT_SYSTEM_PROMPT = """
33
+ 1. 如果查詢是以中文輸入,使用標準繁體中文回答,符合官方文書規範
34
+ 2. 要提供引用規則依据
35
+ 3. 如果查詢是以英文輸入,使用英文回答
36
+ 4. Answer everything in simple, smart, relevant and accurate style. No chatty!
37
+ """
38
 
39
  # --- Gradio Interface ---
40
  with gr.Blocks(theme=gr.themes.Default(primary_hue="blue", secondary_hue="neutral")) as demo: