30 lines
493 B
Python
30 lines
493 B
Python
|
|
#!/usr/bin/env python3
|
||
|
|
"""
|
||
|
|
Real-ESRGAN Web UI - Main Entry Point
|
||
|
|
|
||
|
|
A full-featured web interface for Real-ESRGAN image and video upscaling,
|
||
|
|
optimized for RTX 4090 with 24GB VRAM.
|
||
|
|
|
||
|
|
Usage:
|
||
|
|
python app.py
|
||
|
|
|
||
|
|
The server will start at http://localhost:7860
|
||
|
|
"""
|
||
|
|
|
||
|
|
import sys
|
||
|
|
from pathlib import Path
|
||
|
|
|
||
|
|
# Add src to path
|
||
|
|
sys.path.insert(0, str(Path(__file__).parent))
|
||
|
|
|
||
|
|
from src.ui.app import launch_app
|
||
|
|
|
||
|
|
|
||
|
|
def main():
|
||
|
|
"""Main entry point."""
|
||
|
|
launch_app()
|
||
|
|
|
||
|
|
|
||
|
|
if __name__ == "__main__":
|
||
|
|
main()
|