Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	disable ssr and max_threads from 2 to 5
Browse files
    	
        app.py
    CHANGED
    
    | @@ -850,7 +850,7 @@ with gr.Blocks(theme=soft, title="Social Bias Testing in Language Models", | |
| 850 | 
             
                                "Male/Female <> Care/Expertise",
         | 
| 851 | 
             
                                "Hispanic/Caucasian <> Treatment-Adherence",
         | 
| 852 | 
             
                                "Afr.-American/Eur.American <> Risky-Health-Behaviors"
         | 
| 853 | 
            -
                                ], label="Example Biases" | 
| 854 | 
             
                            )
         | 
| 855 | 
             
                        with gr.Row(elem_id="group_row"):
         | 
| 856 | 
             
                            group1 = gr.Textbox(label="Words describing Social Group 1", max_lines=1, elem_id="group1_words", elem_classes="input_words", placeholder="he, brother, father, ...")
         | 
| @@ -1081,4 +1081,4 @@ with gr.Blocks(theme=soft, title="Social Bias Testing in Language Models", | |
| 1081 | 
             
                att1.change(fn=changeTerm, inputs=[], outputs=[csv])
         | 
| 1082 | 
             
                att2.change(fn=changeTerm, inputs=[], outputs=[csv])
         | 
| 1083 |  | 
| 1084 | 
            -
            iface.queue().launch(max_threads= | 
|  | |
| 850 | 
             
                                "Male/Female <> Care/Expertise",
         | 
| 851 | 
             
                                "Hispanic/Caucasian <> Treatment-Adherence",
         | 
| 852 | 
             
                                "Afr.-American/Eur.American <> Risky-Health-Behaviors"
         | 
| 853 | 
            +
                                ], label="Example Biases"#, info="Select a predefined bias specification to test"
         | 
| 854 | 
             
                            )
         | 
| 855 | 
             
                        with gr.Row(elem_id="group_row"):
         | 
| 856 | 
             
                            group1 = gr.Textbox(label="Words describing Social Group 1", max_lines=1, elem_id="group1_words", elem_classes="input_words", placeholder="he, brother, father, ...")
         | 
|  | |
| 1081 | 
             
                att1.change(fn=changeTerm, inputs=[], outputs=[csv])
         | 
| 1082 | 
             
                att2.change(fn=changeTerm, inputs=[], outputs=[csv])
         | 
| 1083 |  | 
| 1084 | 
            +
            iface.queue().launch(max_threads=5, ssr=False) #concurrency_count=2
         | 
 
			
