research14 commited on
Commit
9ac6bac
1 Parent(s): d6deec7

added link to definitions of complexity

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -271,6 +271,7 @@ def interface():
271
  ling_ents_btn.click(fn=update_textbox, inputs=ling_ents_prompt, outputs=user_prompt_1, api_name="ling_ents_btn")
272
 
273
  # Show features from LFTK
 
274
  ling_ents_btn.click(linguistic_features_fn, inputs=[ling_ents_prompt], outputs=[linguistic_features_textbox])
275
 
276
  # Event Handler for GPT 3.5 Chatbot
@@ -337,6 +338,9 @@ def interface():
337
 
338
  # Outputs
339
  user_prompt_2 = gr.Textbox(label="Original prompt", )
 
 
 
340
  linguistic_features_textbox_2 = gr.Textbox(label="Linguistic Complexity", disabled=True)
341
 
342
  gr.Markdown("### Strategy 1 - QA-Based Prompting")
 
271
  ling_ents_btn.click(fn=update_textbox, inputs=ling_ents_prompt, outputs=user_prompt_1, api_name="ling_ents_btn")
272
 
273
  # Show features from LFTK
274
+ gr.Markdown("Definitions for the complexity indices can be found [here](https://docs.google.com/spreadsheets/d/1uXtQ1ah0OL9cmHp2Hey0QcHb4bifJcQFLvYlVIAWWwQ/edit#gid=693915416).")
275
  ling_ents_btn.click(linguistic_features_fn, inputs=[ling_ents_prompt], outputs=[linguistic_features_textbox])
276
 
277
  # Event Handler for GPT 3.5 Chatbot
 
338
 
339
  # Outputs
340
  user_prompt_2 = gr.Textbox(label="Original prompt", )
341
+
342
+ # Linguistic Complexity
343
+ gr.Markdown("Definitions for the complexity indices can be found [here](https://docs.google.com/spreadsheets/d/1uXtQ1ah0OL9cmHp2Hey0QcHb4bifJcQFLvYlVIAWWwQ/edit#gid=693915416).")
344
  linguistic_features_textbox_2 = gr.Textbox(label="Linguistic Complexity", disabled=True)
345
 
346
  gr.Markdown("### Strategy 1 - QA-Based Prompting")