Spaces:
Runtime error
Runtime error
Commit
·
67b28a6
1
Parent(s):
204e065
updated clear button components
Browse files
app.py
CHANGED
@@ -223,7 +223,8 @@ def interface():
|
|
223 |
gpt_ling_ents_chatbot = gr.Chatbot(label="gpt-3.5")
|
224 |
llama_ling_ents_chatbot = gr.Chatbot(label="llama-7b")
|
225 |
vicuna_ling_ents_chatbot = gr.Chatbot(label="vicuna-7b")
|
226 |
-
clear = gr.ClearButton(components=[ling_ents_prompt, ling_ents_apikey_input,
|
|
|
227 |
|
228 |
# Event Handler for API Key
|
229 |
ling_ents_btn.click(update_api_key, inputs=ling_ents_apikey_input)
|
@@ -271,7 +272,7 @@ def interface():
|
|
271 |
task_btn = gr.Button(value="Submit")
|
272 |
|
273 |
# Outputs
|
274 |
-
user_prompt = gr.Textbox(
|
275 |
gr.Markdown("### Strategy 1 - QA-Based Prompting")
|
276 |
strategy1 = gr.Markdown("S1", visible=False)
|
277 |
with gr.Row():
|
|
|
223 |
gpt_ling_ents_chatbot = gr.Chatbot(label="gpt-3.5")
|
224 |
llama_ling_ents_chatbot = gr.Chatbot(label="llama-7b")
|
225 |
vicuna_ling_ents_chatbot = gr.Chatbot(label="vicuna-7b")
|
226 |
+
clear = gr.ClearButton(components=[ling_ents_prompt, ling_ents_apikey_input, have_key2, linguistic_entities,
|
227 |
+
vicuna_ling_ents_chatbot, llama_ling_ents_chatbot, gpt_ling_ents_chatbot,])
|
228 |
|
229 |
# Event Handler for API Key
|
230 |
ling_ents_btn.click(update_api_key, inputs=ling_ents_apikey_input)
|
|
|
272 |
task_btn = gr.Button(value="Submit")
|
273 |
|
274 |
# Outputs
|
275 |
+
user_prompt = gr.Textbox(label="Original prompt", )
|
276 |
gr.Markdown("### Strategy 1 - QA-Based Prompting")
|
277 |
strategy1 = gr.Markdown("S1", visible=False)
|
278 |
with gr.Row():
|