File size: 456 Bytes
0def483
 
 
7b9a561
 
0def483
 
7b9a561
 
0def483
 
 
 
40c7ec0
0def483
 
 
0fa2ece
841d16c
 
0def483
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"""
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()