Spaces:
Runtime error
Runtime error
Commit
·
847e58c
1
Parent(s):
269473e
added input to gpt function
Browse files
app.py
CHANGED
@@ -306,11 +306,11 @@ 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 |
-
task_btn.click(gpt_strategies_respond, inputs=[have_key, strategy1, task, task_linguistic_entities, gpt_S1_chatbot],
|
310 |
outputs=[task, task_prompt, gpt_S1_chatbot])
|
311 |
-
task_btn.click(gpt_strategies_respond, inputs=[have_key, strategy1, task, task_linguistic_entities, gpt_S2_chatbot],
|
312 |
outputs=[task, task_prompt, gpt_S2_chatbot])
|
313 |
-
task_btn.click(gpt_strategies_respond, inputs=[have_key, strategy1, task, task_linguistic_entities, gpt_S3_chatbot],
|
314 |
outputs=[task, task_prompt, gpt_S3_chatbot])
|
315 |
|
316 |
|
|
|
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=[have_key, 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=[have_key, 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=[have_key, strategy1, task, task_linguistic_entities, task_prompt, gpt_S3_chatbot],
|
314 |
outputs=[task, task_prompt, gpt_S3_chatbot])
|
315 |
|
316 |
|