Spaces:
				
			
			
	
			
			
					
		Running
		
	
	
	
			
			
	
	
	
	
		
		
					
		Running
		
	Commit 
							
							·
						
						9af70d6
	
1
								Parent(s):
							
							54b0338
								
add cohere
Browse files- src/utils.py +2 -0
    	
        src/utils.py
    CHANGED
    
    | @@ -9,6 +9,8 @@ import re | |
| 9 | 
             
            def model_hyperlink(link, model_name):
         | 
| 10 | 
             
                if model_name == "random":
         | 
| 11 | 
             
                    return "random"
         | 
|  | |
|  | |
| 12 | 
             
                return f'<a target="_blank" href="{link}" style="color: var(--link-text-color); text-decoration: underline;text-decoration-style: dotted;">{model_name}</a>'
         | 
| 13 |  | 
| 14 | 
             
            def undo_hyperlink(html_string):
         | 
|  | |
| 9 | 
             
            def model_hyperlink(link, model_name):
         | 
| 10 | 
             
                if model_name == "random":
         | 
| 11 | 
             
                    return "random"
         | 
| 12 | 
            +
                if model_name == "Cohere March 2024":
         | 
| 13 | 
            +
                    return f'<a target="_blank" href="https://huggingface.co/Cohere" style="color: var(--link-text-color); text-decoration: underline;text-decoration-style: dotted;">{model_name}</a>'
         | 
| 14 | 
             
                return f'<a target="_blank" href="{link}" style="color: var(--link-text-color); text-decoration: underline;text-decoration-style: dotted;">{model_name}</a>'
         | 
| 15 |  | 
| 16 | 
             
            def undo_hyperlink(html_string):
         | 

