| """ | |
| HATSAT - Super-Resolution for Satellite Images | |
| Main application entry point. | |
| """ | |
| from utils.model_utils import load_model | |
| from interface.gradio_app import create_interface | |
| def main(): | |
| """Initialize and launch the HATSAT application.""" | |
| # Load model and get device | |
| model, device = load_model() | |
| # Create and launch Gradio interface | |
| iface = create_interface(model, device) | |
| iface.launch() | |
| if __name__ == "__main__": | |
| main() |