research14 commited on
Commit
7045d9d
·
1 Parent(s): 4db7fa2
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,7 +90,7 @@ with gr.Blocks() as demo:
90
 
91
  chat_history.append((message, bot_message))
92
  time.sleep(2)
93
- return bot_message
94
 
95
  submit_btn.click(respond_entities, [entity_dropdown, prompt_POS, vicuna_S1_chatbot_POS], [entity_dropdown, prompt_POS, vicuna_S1_chatbot_POS])
96
  submit_btn.click(respond_entities, [entity_dropdown, prompt_POS, vicuna_S2_chatbot_POS], [entity_dropdown, prompt_POS, vicuna_S2_chatbot_POS])
 
90
 
91
  chat_history.append((message, bot_message))
92
  time.sleep(2)
93
+ return entity, message, bot_message
94
 
95
  submit_btn.click(respond_entities, [entity_dropdown, prompt_POS, vicuna_S1_chatbot_POS], [entity_dropdown, prompt_POS, vicuna_S1_chatbot_POS])
96
  submit_btn.click(respond_entities, [entity_dropdown, prompt_POS, vicuna_S2_chatbot_POS], [entity_dropdown, prompt_POS, vicuna_S2_chatbot_POS])