Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,7 @@ additional_inputs=[
|
|
| 53 |
),
|
| 54 |
gr.Slider(
|
| 55 |
label="Max new tokens",
|
| 56 |
-
value=
|
| 57 |
minimum=0,
|
| 58 |
maximum=1048,
|
| 59 |
step=64,
|
|
@@ -91,7 +91,7 @@ with gr.Blocks() as demo:
|
|
| 91 |
chatbot=chatbot, # Use the created Chatbot object
|
| 92 |
additional_inputs=additional_inputs,
|
| 93 |
examples=[["Joke on darth vader and gandalf"], ["Write me a recipe for Butter Chicken."]],
|
| 94 |
-
|
| 95 |
)
|
| 96 |
|
| 97 |
demo.queue().launch(debug=True)
|
|
|
|
| 53 |
),
|
| 54 |
gr.Slider(
|
| 55 |
label="Max new tokens",
|
| 56 |
+
value=512,
|
| 57 |
minimum=0,
|
| 58 |
maximum=1048,
|
| 59 |
step=64,
|
|
|
|
| 91 |
chatbot=chatbot, # Use the created Chatbot object
|
| 92 |
additional_inputs=additional_inputs,
|
| 93 |
examples=[["Joke on darth vader and gandalf"], ["Write me a recipe for Butter Chicken."]],
|
| 94 |
+
|
| 95 |
)
|
| 96 |
|
| 97 |
demo.queue().launch(debug=True)
|