Spaces:
				
			
			
	
			
			
					
		Running
		
	
	
	
			
			
	
	
	
	
		
		
					
		Running
		
	
		Leonardo Kamigauti
		
	commited on
		
		
					Commit 
							
							·
						
						991fef8
	
1
								Parent(s):
							
							98343a2
								
Try add_base_tools
Browse files
    	
        app.py
    CHANGED
    
    | @@ -97,7 +97,6 @@ with open("prompts.yaml", 'r') as stream: | |
| 97 | 
             
            agent = CodeAgent(
         | 
| 98 | 
             
                model=model,
         | 
| 99 | 
             
                tools=[final_answer,
         | 
| 100 | 
            -
                       UserInputTool(),
         | 
| 101 | 
             
                       search_kaggle_datasets, 
         | 
| 102 | 
             
                       download_kaggle_dataset,
         | 
| 103 | 
             
                       image_generation_tool],
         | 
| @@ -111,6 +110,7 @@ agent = CodeAgent( | |
| 111 | 
             
                additional_authorized_imports=['pandas', 
         | 
| 112 | 
             
                                               'matplotlib', 
         | 
| 113 | 
             
                                               'seaborn'],
         | 
|  | |
| 114 | 
             
            )
         | 
| 115 |  | 
| 116 |  | 
|  | |
| 97 | 
             
            agent = CodeAgent(
         | 
| 98 | 
             
                model=model,
         | 
| 99 | 
             
                tools=[final_answer,
         | 
|  | |
| 100 | 
             
                       search_kaggle_datasets, 
         | 
| 101 | 
             
                       download_kaggle_dataset,
         | 
| 102 | 
             
                       image_generation_tool],
         | 
|  | |
| 110 | 
             
                additional_authorized_imports=['pandas', 
         | 
| 111 | 
             
                                               'matplotlib', 
         | 
| 112 | 
             
                                               'seaborn'],
         | 
| 113 | 
            +
                add_base_tools=True,
         | 
| 114 | 
             
            )
         | 
| 115 |  | 
| 116 |  | 
 
			
