Spaces:
				
			
			
	
			
			
		Build error
		
	
	
	
			
			
	
	
	
	
		
		
		Build error
		
	added major tom NA to interactive frontend
Browse files
    	
        app.py
    CHANGED
    
    | @@ -13,12 +13,13 @@ AWS_ACCESS_KEY_ID = os.getenv("AWS_ACCESS_KEY_ID") | |
| 13 | 
             
            AWS_SECRET_ACCESS_KEY = os.getenv("AWS_SECRET_ACCESS_KEY")
         | 
| 14 |  | 
| 15 | 
             
            # Predefined list of datasets
         | 
| 16 | 
            -
            datasets = ["MajorTom-Germany", "MajorTom-Netherlands","WayveScenes"]
         | 
| 17 | 
             
            folder_path_dict = {
         | 
| 18 | 
             
                "WayveScenes": "",
         | 
| 19 | 
             
                "MajorTom-Germany": "MajorTOM-DE/",
         | 
| 20 | 
             
                "MajorTom-Netherlands": "MajorTOM-NL/",
         | 
| 21 | 
             
                "MajorTom-Europe": "MajorTom-Europe/",
         | 
|  | |
| 22 | 
             
                "MajorTom-UK" :""
         | 
| 23 | 
             
            }
         | 
| 24 | 
             
            description = {
         | 
| @@ -26,6 +27,7 @@ description = { | |
| 26 | 
             
                "MajorTom-Germany": "A geospatial dataset containing satellite imagery from across Germany, designed for tasks like land-use classification, environmental monitoring, and earth observation analytics.",
         | 
| 27 | 
             
                "MajorTom-Netherlands": "A geospatial dataset containing satellite imagery from across Netherlands, designed for tasks like land-use classification, environmental monitoring, and earth observation analytics.",
         | 
| 28 | 
             
                "MajorTom-UK" :"A geospatial dataset containing satellite imagery from across the United Kingdom, designed for tasks like land-use classification, environmental monitoring, and earth observation analytics.",
         | 
|  | |
| 29 | 
             
                "MajorTom-Europe" :"A geospatial dataset containing satellite imagery from across Europe, designed for tasks like land-use classification, environmental monitoring, and earth observation analytics."
         | 
| 30 | 
             
            }
         | 
| 31 | 
             
            selection = {
         | 
| @@ -33,6 +35,7 @@ selection = { | |
| 33 | 
             
                "MajorTom-Germany": [1, 1],
         | 
| 34 | 
             
                "MajorTom-Netherlands": [1,1],
         | 
| 35 | 
             
                "MajorTom-UK": [1,1],
         | 
|  | |
| 36 | 
             
                "MajorTom-Europe": [1,19]
         | 
| 37 | 
             
            }
         | 
| 38 |  | 
| @@ -41,7 +44,8 @@ example_queries = { | |
| 41 | 
             
                "MajorTom-Germany": "Airports, Golf Courses, Wind Mills, Solar Panels ",
         | 
| 42 | 
             
                "MajorTom-Netherlands": "Airports, Golf Courses, Wind Mills, Solar Panels ",
         | 
| 43 | 
             
                "MajorTom-UK": "Airports, Golf Courses, Wind Mills, Solar Panels ",
         | 
| 44 | 
            -
                "MajorTom-Europe": "Airports, Golf Courses, Wind Mills, Solar Panels "
         | 
|  | |
| 45 | 
             
            }
         | 
| 46 |  | 
| 47 |  | 
|  | |
| 13 | 
             
            AWS_SECRET_ACCESS_KEY = os.getenv("AWS_SECRET_ACCESS_KEY")
         | 
| 14 |  | 
| 15 | 
             
            # Predefined list of datasets
         | 
| 16 | 
            +
            datasets = ["MajorTom-Germany", "MajorTom-Netherlands","MajorTom-North-America", "MajorTom-Europe","WayveScenes"]
         | 
| 17 | 
             
            folder_path_dict = {
         | 
| 18 | 
             
                "WayveScenes": "",
         | 
| 19 | 
             
                "MajorTom-Germany": "MajorTOM-DE/",
         | 
| 20 | 
             
                "MajorTom-Netherlands": "MajorTOM-NL/",
         | 
| 21 | 
             
                "MajorTom-Europe": "MajorTom-Europe/",
         | 
| 22 | 
            +
                "MajorTom-North-America" : "MajorTom-NA_66b587ece7b433ff03455227_66b589a3c70d86c8306cdf86_85f3b0d0/",
         | 
| 23 | 
             
                "MajorTom-UK" :""
         | 
| 24 | 
             
            }
         | 
| 25 | 
             
            description = {
         | 
|  | |
| 27 | 
             
                "MajorTom-Germany": "A geospatial dataset containing satellite imagery from across Germany, designed for tasks like land-use classification, environmental monitoring, and earth observation analytics.",
         | 
| 28 | 
             
                "MajorTom-Netherlands": "A geospatial dataset containing satellite imagery from across Netherlands, designed for tasks like land-use classification, environmental monitoring, and earth observation analytics.",
         | 
| 29 | 
             
                "MajorTom-UK" :"A geospatial dataset containing satellite imagery from across the United Kingdom, designed for tasks like land-use classification, environmental monitoring, and earth observation analytics.",
         | 
| 30 | 
            +
                "MajorTom-North-America" :"A geospatial dataset containing satellite imagery from across Europe, designed for tasks like land-use classification, environmental monitoring, and earth observation analytics.",
         | 
| 31 | 
             
                "MajorTom-Europe" :"A geospatial dataset containing satellite imagery from across Europe, designed for tasks like land-use classification, environmental monitoring, and earth observation analytics."
         | 
| 32 | 
             
            }
         | 
| 33 | 
             
            selection = {
         | 
|  | |
| 35 | 
             
                "MajorTom-Germany": [1, 1],
         | 
| 36 | 
             
                "MajorTom-Netherlands": [1,1],
         | 
| 37 | 
             
                "MajorTom-UK": [1,1],
         | 
| 38 | 
            +
                "MajorTom-North-America": [1,4],
         | 
| 39 | 
             
                "MajorTom-Europe": [1,19]
         | 
| 40 | 
             
            }
         | 
| 41 |  | 
|  | |
| 44 | 
             
                "MajorTom-Germany": "Airports, Golf Courses, Wind Mills, Solar Panels ",
         | 
| 45 | 
             
                "MajorTom-Netherlands": "Airports, Golf Courses, Wind Mills, Solar Panels ",
         | 
| 46 | 
             
                "MajorTom-UK": "Airports, Golf Courses, Wind Mills, Solar Panels ",
         | 
| 47 | 
            +
                "MajorTom-Europe": "Airports, Golf Courses, Wind Mills, Solar Panels ",
         | 
| 48 | 
            +
                "MajorTom-North-America": "Airports, Golf Courses, Wind Mills, Solar Panels "
         | 
| 49 | 
             
            }
         | 
| 50 |  | 
| 51 |  | 
