Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	
		TTsamurai
		
	commited on
		
		
					Commit 
							
							·
						
						919dbd8
	
1
								Parent(s):
							
							cf204ab
								
update evaluation
Browse files
    	
        app.py
    CHANGED
    
    | @@ -1148,9 +1148,12 @@ def create_demo(): | |
| 1148 | 
             
                            feedback_file_final_survey,
         | 
| 1149 | 
             
                        )
         | 
| 1150 | 
             
                        submit_ranking = gr.Button(value="Final evaluaiotn received", interactive=False)
         | 
| 1151 | 
            -
                        return  | 
|  | |
| 1152 | 
             
                                    <strong>Thank you for participating in the experiment. This concludes the session. You may now close the tab.</strong>
         | 
| 1153 | 
            -
                                </div>"""
         | 
|  | |
|  | |
| 1154 |  | 
| 1155 | 
             
                def get_context(index, raw_context_list, stock_context_list):
         | 
| 1156 | 
             
                    comp = raw_context_list[index]["short_name"]
         | 
|  | |
| 1148 | 
             
                            feedback_file_final_survey,
         | 
| 1149 | 
             
                        )
         | 
| 1150 | 
             
                        submit_ranking = gr.Button(value="Final evaluaiotn received", interactive=False)
         | 
| 1151 | 
            +
                        return (
         | 
| 1152 | 
            +
                            """<div style="background-color: #d4edda; color: #155724; padding: 15px; border: 1px solid #c3e6cb; border-radius: 5px; margin-bottom: 20px;">
         | 
| 1153 | 
             
                                    <strong>Thank you for participating in the experiment. This concludes the session. You may now close the tab.</strong>
         | 
| 1154 | 
            +
                                </div>""",
         | 
| 1155 | 
            +
                            submit_ranking,
         | 
| 1156 | 
            +
                        )
         | 
| 1157 |  | 
| 1158 | 
             
                def get_context(index, raw_context_list, stock_context_list):
         | 
| 1159 | 
             
                    comp = raw_context_list[index]["short_name"]
         |