Spaces:
Runtime error
Runtime error
app update
Browse files
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=
|
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,
|