Spaces:
				
			
			
	
			
			
		Build error
		
	
	
	
			
			
	
	
	
	
		
		
		Build error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -7,7 +7,7 @@ import google.generativeai as genai | |
| 7 |  | 
| 8 |  | 
| 9 |  | 
| 10 | 
            -
             def add_to_json():
         | 
| 11 | 
             
                with open("test.json", "r") as file:
         | 
| 12 | 
             
                    data = json.load(file)
         | 
| 13 |  | 
|  | |
| 7 |  | 
| 8 |  | 
| 9 |  | 
| 10 | 
            +
             def add_to_json(new_item):
         | 
| 11 | 
             
                with open("test.json", "r") as file:
         | 
| 12 | 
             
                    data = json.load(file)
         | 
| 13 |  | 
