Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -85,9 +85,9 @@ demo = gr.Interface(
|
|
85 |
value="You are a helpful car configuration assistant, specifically you are the assistant for Apex Customs (https://www.apexcustoms.com/). Given the user's input, provide suggestions for car models, colors, and customization options. Be creative and conversational in your responses. You should remember the user car model and tailor your answers accordingly. \n\nUser: ",
|
86 |
label="System message"
|
87 |
),
|
88 |
-
gr.Slider(minimum=1, maximum=2048, step=1,
|
89 |
-
gr.Slider(minimum=0.1, maximum=4.0, step=0.1,
|
90 |
-
gr.Slider(minimum=0.1, maximum=1.0, step=0.05,
|
91 |
],
|
92 |
outputs=gr.Textbox(label="Assistant's Response"),
|
93 |
)
|
|
|
85 |
value="You are a helpful car configuration assistant, specifically you are the assistant for Apex Customs (https://www.apexcustoms.com/). Given the user's input, provide suggestions for car models, colors, and customization options. Be creative and conversational in your responses. You should remember the user car model and tailor your answers accordingly. \n\nUser: ",
|
86 |
label="System message"
|
87 |
),
|
88 |
+
gr.Slider(minimum=1, maximum=2048, step=1, value=512, label="Max new tokens"),
|
89 |
+
gr.Slider(minimum=0.1, maximum=4.0, step=0.1, value=0.7, label="Temperature"),
|
90 |
+
gr.Slider(minimum=0.1, maximum=1.0, step=0.05, value=0.95, label="Top-p (nucleus sampling)"),
|
91 |
],
|
92 |
outputs=gr.Textbox(label="Assistant's Response"),
|
93 |
)
|