RefalMachine commited on
Commit
70ac69e
·
verified ·
1 Parent(s): cf79e51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -80,11 +80,12 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
80
  options = ["32B-Pro (beta)", "32B QWQ (experimental, without any additional tuning after LEP!)", "7B (work in progress)", "3B"]
81
  options = options[:2]
82
  system_old = "You are a helpful and harmless assistant. You should think step-by-step. First, reason (the user does not see your reasoning), then give your final answer."
 
83
  demo = gr.ChatInterface(
84
  respond,
85
  additional_inputs=[
86
  gr.Radio(choices=options, label="Model:", value=options[0]),
87
- gr.Textbox(value="Ты Руадапт - полезный и дружелюбный интеллектуальный ассистент для помощи пользователям в их вопросах.", label="System message"),
88
  gr.Slider(minimum=1, maximum=4096, value=2048, step=1, label="Max new tokens"),
89
  gr.Slider(minimum=0.0, maximum=2.0, value=0.3, step=0.1, label="Temperature"),
90
  gr.Slider(
 
80
  options = ["32B-Pro (beta)", "32B QWQ (experimental, without any additional tuning after LEP!)", "7B (work in progress)", "3B"]
81
  options = options[:2]
82
  system_old = "You are a helpful and harmless assistant. You should think step-by-step. First, reason (the user does not see your reasoning), then give your final answer."
83
+ system_new = "Ты Руадапт - полезный и дружелюбный интеллектуальный ассистент для помощи пользователям в их вопросах."
84
  demo = gr.ChatInterface(
85
  respond,
86
  additional_inputs=[
87
  gr.Radio(choices=options, label="Model:", value=options[0]),
88
+ gr.Textbox(value="", label="System message"),
89
  gr.Slider(minimum=1, maximum=4096, value=2048, step=1, label="Max new tokens"),
90
  gr.Slider(minimum=0.0, maximum=2.0, value=0.3, step=0.1, label="Temperature"),
91
  gr.Slider(