Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -79,8 +79,8 @@ async def respond(message, history, system_message, max_tokens, temperature, top
|
|
79 |
yield token
|
80 |
|
81 |
demo = gr.ChatInterface(
|
82 |
-
|
83 |
-
|
84 |
gr.Textbox(
|
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"
|
|
|
79 |
yield token
|
80 |
|
81 |
demo = gr.ChatInterface(
|
82 |
+
respond,
|
83 |
+
additional_inputs=[
|
84 |
gr.Textbox(
|
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"
|