burman-ai commited on
Commit
74004ae
·
verified ·
1 Parent(s): 417ef5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -83,12 +83,12 @@ def respond(
83
  chatbot = gr.Chatbot(height=600, show_copy_button=True, placeholder="Select a model and begin chatting", likeable=True, layout="panel")
84
  print("Chatbot interface created.")
85
 
86
- system_message_box = gr.Textbox(value="", placeholder="You are a helpful assistant.", label="System Prompt")
87
 
88
  max_tokens_slider = gr.Slider(
89
  minimum=1,
90
- maximum=4096,
91
- value=512,
92
  step=1,
93
  label="Max new tokens"
94
  )
 
83
  chatbot = gr.Chatbot(height=600, show_copy_button=True, placeholder="Select a model and begin chatting", likeable=True, layout="panel")
84
  print("Chatbot interface created.")
85
 
86
+ system_message_box = gr.Textbox(value="", placeholder="You are a Writing Assistant.", label="System Prompt")
87
 
88
  max_tokens_slider = gr.Slider(
89
  minimum=1,
90
+ maximum=8000,
91
+ value=4096,
92
  step=1,
93
  label="Max new tokens"
94
  )