mkthoma commited on
Commit
f7dd8b0
·
1 Parent(s): 68bca0a

app update

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ bbchatbot = gr.Chatbot(
39
 
40
  examples = [["What is a large language model?"], ["How to calm down a person?"], ["What is aritificial intelligence?"], ["How to write a good resume?"]]
41
 
42
- additional_inputs = additional_inputs=[gr.Slider(label="Max new tokens",minimum=100,maximum=2048,step=50,value=num_new_tokens),
43
  gr.Slider(label="Temperature",minimum=0.1,maximum=4.0,step=0.1,value=0.6)]
44
 
45
  chat_interface = gr.ChatInterface(fn=generate,
 
39
 
40
  examples = [["What is a large language model?"], ["How to calm down a person?"], ["What is aritificial intelligence?"], ["How to write a good resume?"]]
41
 
42
+ additional_inputs = additional_inputs=[gr.Slider(label="Max new tokens",minimum=100,maximum=500,step=10,value=num_new_tokens),
43
  gr.Slider(label="Temperature",minimum=0.1,maximum=4.0,step=0.1,value=0.6)]
44
 
45
  chat_interface = gr.ChatInterface(fn=generate,