Moha782 commited on
Commit
be233a1
·
verified ·
1 Parent(s): 6a0b151

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- fn=respond,
83
- 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"
 
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"