Spaces:
Runtime error
Runtime error
Commit
·
31e54cb
1
Parent(s):
6cdbf20
fixed function for llama strategies
Browse files
app.py
CHANGED
|
@@ -288,11 +288,11 @@ def interface():
|
|
| 288 |
outputs=[task, task_prompt, vicuna_S3_chatbot])
|
| 289 |
|
| 290 |
# Event Handler for LLaMA Chatbot POS/Chunk
|
| 291 |
-
task_btn.click(
|
| 292 |
outputs=[task, task_prompt, llama_S1_chatbot])
|
| 293 |
-
task_btn.click(
|
| 294 |
outputs=[task, task_prompt, llama_S2_chatbot])
|
| 295 |
-
task_btn.click(
|
| 296 |
outputs=[task, task_prompt, llama_S3_chatbot])
|
| 297 |
|
| 298 |
# Event Handler for GPT 3.5 Chatbot, user must submit api key before submitting the prompt
|
|
|
|
| 288 |
outputs=[task, task_prompt, vicuna_S3_chatbot])
|
| 289 |
|
| 290 |
# Event Handler for LLaMA Chatbot POS/Chunk
|
| 291 |
+
task_btn.click(llama_strategies_respond, inputs=[strategy1, task, task_linguistic_entities, task_prompt, llama_S1_chatbot],
|
| 292 |
outputs=[task, task_prompt, llama_S1_chatbot])
|
| 293 |
+
task_btn.click(llama_strategies_respond, inputs=[strategy2, task, task_linguistic_entities, task_prompt, llama_S2_chatbot],
|
| 294 |
outputs=[task, task_prompt, llama_S2_chatbot])
|
| 295 |
+
task_btn.click(llama_strategies_respond, inputs=[strategy3, task, task_linguistic_entities, task_prompt, llama_S3_chatbot],
|
| 296 |
outputs=[task, task_prompt, llama_S3_chatbot])
|
| 297 |
|
| 298 |
# Event Handler for GPT 3.5 Chatbot, user must submit api key before submitting the prompt
|