Spaces:
Runtime error
Runtime error
Commit
·
269473e
1
Parent(s):
e5f657f
commented out vicuna and llama for gpt test only
Browse files
app.py
CHANGED
|
@@ -288,20 +288,20 @@ def interface():
|
|
| 288 |
|
| 289 |
# vicuna_strategies_respond(strategy, task_name, task_ling_ent, message, chat_history):
|
| 290 |
# Event Handlers for Vicuna Chatbot POS/Chunk
|
| 291 |
-
task_btn.click(vicuna_strategies_respond, inputs=[strategy1, task, task_linguistic_entities, task_prompt, vicuna_S1_chatbot],
|
| 292 |
-
|
| 293 |
-
task_btn.click(vicuna_strategies_respond, inputs=[strategy2, task, task_linguistic_entities, task_prompt, vicuna_S2_chatbot],
|
| 294 |
-
|
| 295 |
-
task_btn.click(vicuna_strategies_respond, inputs=[strategy3, task, task_linguistic_entities, task_prompt, vicuna_S3_chatbot],
|
| 296 |
-
|
| 297 |
|
| 298 |
# Event Handler for LLaMA Chatbot POS/Chunk
|
| 299 |
-
task_btn.click(llama_strategies_respond, inputs=[strategy1, task, task_linguistic_entities, task_prompt, llama_S1_chatbot],
|
| 300 |
-
|
| 301 |
-
task_btn.click(llama_strategies_respond, inputs=[strategy2, task, task_linguistic_entities, task_prompt, llama_S2_chatbot],
|
| 302 |
-
|
| 303 |
-
task_btn.click(llama_strategies_respond, inputs=[strategy3, task, task_linguistic_entities, task_prompt, llama_S3_chatbot],
|
| 304 |
-
|
| 305 |
|
| 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
|
|
|
|
| 288 |
|
| 289 |
# vicuna_strategies_respond(strategy, task_name, task_ling_ent, message, chat_history):
|
| 290 |
# Event Handlers for Vicuna Chatbot POS/Chunk
|
| 291 |
+
# task_btn.click(vicuna_strategies_respond, inputs=[strategy1, task, task_linguistic_entities, task_prompt, vicuna_S1_chatbot],
|
| 292 |
+
# outputs=[task, task_prompt, vicuna_S1_chatbot])
|
| 293 |
+
# task_btn.click(vicuna_strategies_respond, inputs=[strategy2, task, task_linguistic_entities, task_prompt, vicuna_S2_chatbot],
|
| 294 |
+
# outputs=[task, task_prompt, vicuna_S2_chatbot])
|
| 295 |
+
# task_btn.click(vicuna_strategies_respond, inputs=[strategy3, task, task_linguistic_entities, task_prompt, vicuna_S3_chatbot],
|
| 296 |
+
# outputs=[task, task_prompt, vicuna_S3_chatbot])
|
| 297 |
|
| 298 |
# Event Handler for LLaMA Chatbot POS/Chunk
|
| 299 |
+
# task_btn.click(llama_strategies_respond, inputs=[strategy1, task, task_linguistic_entities, task_prompt, llama_S1_chatbot],
|
| 300 |
+
# outputs=[task, task_prompt, llama_S1_chatbot])
|
| 301 |
+
# task_btn.click(llama_strategies_respond, inputs=[strategy2, task, task_linguistic_entities, task_prompt, llama_S2_chatbot],
|
| 302 |
+
# outputs=[task, task_prompt, llama_S2_chatbot])
|
| 303 |
+
# task_btn.click(llama_strategies_respond, inputs=[strategy3, task, task_linguistic_entities, task_prompt, llama_S3_chatbot],
|
| 304 |
+
# outputs=[task, task_prompt, llama_S3_chatbot])
|
| 305 |
|
| 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
|