CCockrum commited on
Commit
2137fcc
·
verified ·
1 Parent(s): 3c3d467

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -70,15 +70,12 @@ with gr.Blocks(css=css) as demo:
70
  gr.Markdown("## 🇯🇵 Japanese Instructor", elem_id="chat-title")
71
 
72
  with gr.Accordion("⚙️ Settings", open=False):
73
- system_message = gr.Textbox(
74
- label="System message"
75
- )
76
  max_tokens = gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Response Length")
77
  temperature = gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Response Creativity")
78
 
79
  gr.ChatInterface(
80
  respond,
81
- additional_inputs=[system_message, max_tokens, temperature, top_p]
82
  )
83
 
84
  if __name__ == "__main__":
 
70
  gr.Markdown("## 🇯🇵 Japanese Instructor", elem_id="chat-title")
71
 
72
  with gr.Accordion("⚙️ Settings", open=False):
 
 
 
73
  max_tokens = gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Response Length")
74
  temperature = gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Response Creativity")
75
 
76
  gr.ChatInterface(
77
  respond,
78
+ additional_inputs=[max_tokens, temperature]
79
  )
80
 
81
  if __name__ == "__main__":