Spaces:
Runtime error
Runtime error
Commit
·
0f6dbec
1
Parent(s):
17678fc
testing another approach
Browse files
app.py
CHANGED
@@ -306,13 +306,12 @@ def interface():
|
|
306 |
# Event Handler for GPT 3.5 Chatbot POS/Chunk, user must submit api key before submitting the prompt
|
307 |
# Will activate after getting API key
|
308 |
# task_apikey_btn.click(update_api_key, inputs=ling_ents_apikey_input)
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
outputs=[task, task_prompt, gpt_S3_chatbot])
|
316 |
|
317 |
|
318 |
|
|
|
306 |
# Event Handler for GPT 3.5 Chatbot POS/Chunk, user must submit api key before submitting the prompt
|
307 |
# Will activate after getting API key
|
308 |
# task_apikey_btn.click(update_api_key, inputs=ling_ents_apikey_input)
|
309 |
+
task_btn.click(gpt_strategies_respond, inputs=[strategy1, task, task_linguistic_entities, task_prompt, gpt_S1_chatbot],
|
310 |
+
outputs=[task, task_prompt, gpt_S1_chatbot])
|
311 |
+
task_btn.click(gpt_strategies_respond, inputs=[strategy1, task, task_linguistic_entities, task_prompt, gpt_S2_chatbot],
|
312 |
+
outputs=[task, task_prompt, gpt_S2_chatbot])
|
313 |
+
task_btn.click(gpt_strategies_respond, inputs=[strategy1, task, task_linguistic_entities, task_prompt, gpt_S3_chatbot],
|
314 |
+
outputs=[task, task_prompt, gpt_S3_chatbot])
|
|
|
315 |
|
316 |
|
317 |
|