Spaces:
Sleeping
Sleeping
research14
commited on
Commit
•
e3103da
1
Parent(s):
b8155ff
removed submit key btn on POS/Chunk
Browse files
app.py
CHANGED
@@ -275,6 +275,9 @@ def interface():
|
|
275 |
vicuna_S2_chatbot, llama_S2_chatbot, gpt_S2_chatbot,
|
276 |
vicuna_S3_chatbot, llama_S3_chatbot, gpt_S3_chatbot])
|
277 |
|
|
|
|
|
|
|
278 |
# vicuna_strategies_respond(strategy, task_name, task_ling_ent, message, chat_history):
|
279 |
# Event Handlers for Vicuna Chatbot POS/Chunk
|
280 |
task_btn.click(vicuna_strategies_respond, inputs=[strategy1, task, task_linguistic_entities, task_prompt, vicuna_S1_chatbot],
|
|
|
275 |
vicuna_S2_chatbot, llama_S2_chatbot, gpt_S2_chatbot,
|
276 |
vicuna_S3_chatbot, llama_S3_chatbot, gpt_S3_chatbot])
|
277 |
|
278 |
+
# Event Handler for API Key
|
279 |
+
task_btn.click(update_api_key, inputs=ling_ents_apikey_input)
|
280 |
+
|
281 |
# vicuna_strategies_respond(strategy, task_name, task_ling_ent, message, chat_history):
|
282 |
# Event Handlers for Vicuna Chatbot POS/Chunk
|
283 |
task_btn.click(vicuna_strategies_respond, inputs=[strategy1, task, task_linguistic_entities, task_prompt, vicuna_S1_chatbot],
|