RKocielnik commited on
Commit
f5ae461
·
verified ·
1 Parent(s): 490fd6c

removed the concurrency limit, it is not recognized

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1028,8 +1028,7 @@ with gr.Blocks(theme=soft, title="Social Bias Testing in Language Models",
1028
  inputs=[test_sentences,group1,group2,att1,att2,tested_model_name],
1029
  outputs=[err_message, bar_progress, s1_btn, s2_btn, s3_btn, tab1, tab2, tab3, model_bias_label,
1030
  attribute_bias_html_stereo, attribute_bias_html_antistereo, test_pairs,
1031
- interpretation_msg, group1_fixed2, group2_fixed2, att1_fixed2, att2_fixed2],
1032
- concurrency_limit=3
1033
  )
1034
 
1035
  # top breadcrumbs
@@ -1079,4 +1078,4 @@ with gr.Blocks(theme=soft, title="Social Bias Testing in Language Models",
1079
  att1.change(fn=changeTerm, inputs=[], outputs=[csv])
1080
  att2.change(fn=changeTerm, inputs=[], outputs=[csv])
1081
 
1082
- iface.queue(concurrency_count=5).launch() #concurrency_count=2
 
1028
  inputs=[test_sentences,group1,group2,att1,att2,tested_model_name],
1029
  outputs=[err_message, bar_progress, s1_btn, s2_btn, s3_btn, tab1, tab2, tab3, model_bias_label,
1030
  attribute_bias_html_stereo, attribute_bias_html_antistereo, test_pairs,
1031
+ interpretation_msg, group1_fixed2, group2_fixed2, att1_fixed2, att2_fixed2]
 
1032
  )
1033
 
1034
  # top breadcrumbs
 
1078
  att1.change(fn=changeTerm, inputs=[], outputs=[csv])
1079
  att2.change(fn=changeTerm, inputs=[], outputs=[csv])
1080
 
1081
+ iface.queue(concurrency_count=10).launch() #concurrency_count=2