research14 commited on
Commit
c167442
·
1 Parent(s): 5425a6b
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -80,8 +80,8 @@ with gr.Blocks() as demo:
80
  return {"Vicuna-7B": vicuna_response_chunk}
81
 
82
  # Connect the interfaces to the functions
83
- send_button_POS.click(chatbot_interface_POS, {"prompt_POS": prompt_POS, "vicuna_chatbot1_POS": vicuna_chatbot1_POS})
84
- send_button_Chunk.click(chatbot_interface_Chunk, {"prompt_chunk": prompt_chunk, "vicuna_chatbot1_chunk": vicuna_chatbot1_chunk})
85
 
86
 
87
 
 
80
  return {"Vicuna-7B": vicuna_response_chunk}
81
 
82
  # Connect the interfaces to the functions
83
+ send_button_POS.click(chatbot_interface_POS, inputs={"prompt_POS": prompt_POS, "vicuna_chatbot1_POS": vicuna_chatbot1_POS})
84
+ send_button_Chunk.click(chatbot_interface_Chunk, inputs={"prompt_chunk": prompt_chunk, "vicuna_chatbot1_chunk": vicuna_chatbot1_chunk})
85
 
86
 
87