research14 commited on
Commit
b8155ff
1 Parent(s): 01785c5

updated formatting for strategies

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -204,7 +204,7 @@ def interface():
204
  ling_ents_btn = gr.Button(value="Submit")
205
 
206
  # Outputs
207
- gr.Markdown("Strategy 1 QA-Based Prompting")
208
 
209
  linguistic_features_textbox = gr.Textbox(label="Linguistic Features", disabled=True)
210
 
@@ -252,19 +252,19 @@ def interface():
252
  task_btn = gr.Button(value="Submit")
253
 
254
  # Outputs
255
- gr.Markdown("Strategy 1 QA-Based Prompting")
256
  strategy1 = gr.Markdown("S1", visible=False)
257
  with gr.Row():
258
  vicuna_S1_chatbot = gr.Chatbot(label="vicuna-7b")
259
  llama_S1_chatbot = gr.Chatbot(label="llama-7b")
260
  gpt_S1_chatbot = gr.Chatbot(label="gpt-3.5")
261
- gr.Markdown("Strategy 2 Instruction-Based Prompting")
262
  strategy2 = gr.Markdown("S2", visible=False)
263
  with gr.Row():
264
  vicuna_S2_chatbot = gr.Chatbot(label="vicuna-7b")
265
  llama_S2_chatbot = gr.Chatbot(label="llama-7b")
266
  gpt_S2_chatbot = gr.Chatbot(label="gpt-3.5")
267
- gr.Markdown("Strategy 3 Structured Prompting")
268
  strategy3 = gr.Markdown("S3", visible=False)
269
  with gr.Row():
270
  vicuna_S3_chatbot = gr.Chatbot(label="vicuna-7b")
 
204
  ling_ents_btn = gr.Button(value="Submit")
205
 
206
  # Outputs
207
+ gr.Markdown("### Strategy 1 QA-Based Prompting")
208
 
209
  linguistic_features_textbox = gr.Textbox(label="Linguistic Features", disabled=True)
210
 
 
252
  task_btn = gr.Button(value="Submit")
253
 
254
  # Outputs
255
+ gr.Markdown("### Strategy 1 QA-Based Prompting")
256
  strategy1 = gr.Markdown("S1", visible=False)
257
  with gr.Row():
258
  vicuna_S1_chatbot = gr.Chatbot(label="vicuna-7b")
259
  llama_S1_chatbot = gr.Chatbot(label="llama-7b")
260
  gpt_S1_chatbot = gr.Chatbot(label="gpt-3.5")
261
+ gr.Markdown("### Strategy 2 Instruction-Based Prompting")
262
  strategy2 = gr.Markdown("S2", visible=False)
263
  with gr.Row():
264
  vicuna_S2_chatbot = gr.Chatbot(label="vicuna-7b")
265
  llama_S2_chatbot = gr.Chatbot(label="llama-7b")
266
  gpt_S2_chatbot = gr.Chatbot(label="gpt-3.5")
267
+ gr.Markdown("### Strategy 3 Structured Prompting")
268
  strategy3 = gr.Markdown("S3", visible=False)
269
  with gr.Row():
270
  vicuna_S3_chatbot = gr.Chatbot(label="vicuna-7b")