SkyNetWalker commited on
Commit
849ae95
·
verified ·
1 Parent(s): 7aa55b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -77,7 +77,7 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="blue", secondary_hue="neutra
77
 
78
  # --- New: System Prompt Options ---
79
  SYSTEM_PROMPT_OPTIONS = {
80
- "Default(Auto TC/EN)": DEFAULT_SYSTEM_PROMPT,
81
  "繁體中文回答":"無論如何,必須使用標準繁體中文回答. Answer everything in simple, smart, relevant and accurate style. No chatty!",
82
  "简体中文回答":"无论如何,必须使用标准简体中文回答. Answer everything in simple, smart, relevant and accurate style. No chatty!",
83
  "English Caht":"You must reply by English. Answer everything in simple, smart, relevant and accurate style. No chatty!",
@@ -189,4 +189,4 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="blue", secondary_hue="neutra
189
  )
190
 
191
  # Launch the Gradio interface
192
- demo.launch(server_name="0.0.0.0", server_port=7860)
 
77
 
78
  # --- New: System Prompt Options ---
79
  SYSTEM_PROMPT_OPTIONS = {
80
+ "Smart & Accurate (Auto TC/EN)": DEFAULT_SYSTEM_PROMPT,
81
  "繁體中文回答":"無論如何,必須使用標準繁體中文回答. Answer everything in simple, smart, relevant and accurate style. No chatty!",
82
  "简体中文回答":"无论如何,必须使用标准简体中文回答. Answer everything in simple, smart, relevant and accurate style. No chatty!",
83
  "English Caht":"You must reply by English. Answer everything in simple, smart, relevant and accurate style. No chatty!",
 
189
  )
190
 
191
  # Launch the Gradio interface
192
+ demo.launch(server_name="0.0.0.0", server_port=7860)