Update app.py
Browse filescoba fitur upscale
    	
        app.py
    CHANGED
    
    | @@ -10,7 +10,7 @@ Created by _drat | 2025 | |
| 10 | 
             
            import gradio as gr
         | 
| 11 |  | 
| 12 | 
             
            from app_enhance import create_demo as create_demo_enhance  # Import fungsi untuk membangun demo UI 'Enhance'
         | 
| 13 | 
            -
             | 
| 14 | 
             
            from themes import IndonesiaTheme  # Impor tema custom
         | 
| 15 |  | 
| 16 | 
             
            import warnings
         | 
| @@ -72,8 +72,8 @@ with gr.Blocks(css=css, theme=IndonesiaTheme()) as demo: | |
| 72 | 
             
                with gr.Tabs():
         | 
| 73 | 
             
                    with gr.Tab(label="✨ Enhance"):
         | 
| 74 | 
             
                        create_demo_enhance()   # Panggil UI Enhance dari app_enhance.py (atau sesuai modul Anda)
         | 
| 75 | 
            -
                     | 
| 76 | 
            -
             | 
| 77 |  | 
| 78 | 
             
            # Jalankan aplikasi Gradio (local/web)
         | 
| 79 | 
             
            demo.queue(api_open=False).launch(show_api=False)
         | 
|  | |
| 10 | 
             
            import gradio as gr
         | 
| 11 |  | 
| 12 | 
             
            from app_enhance import create_demo as create_demo_enhance  # Import fungsi untuk membangun demo UI 'Enhance'
         | 
| 13 | 
            +
            from app_upscale import create_demo as create_demo_upscale  # Import fungsi untuk membangun demo UI 'Upscale'
         | 
| 14 | 
             
            from themes import IndonesiaTheme  # Impor tema custom
         | 
| 15 |  | 
| 16 | 
             
            import warnings
         | 
|  | |
| 72 | 
             
                with gr.Tabs():
         | 
| 73 | 
             
                    with gr.Tab(label="✨ Enhance"):
         | 
| 74 | 
             
                        create_demo_enhance()   # Panggil UI Enhance dari app_enhance.py (atau sesuai modul Anda)
         | 
| 75 | 
            +
                    with gr.Tab(label="🚀 Upscale"):
         | 
| 76 | 
            +
                        create_demo_upscale()   # Panggil UI Upscale dari app_upscale.py (atau sesuai modul Anda)
         | 
| 77 |  | 
| 78 | 
             
            # Jalankan aplikasi Gradio (local/web)
         | 
| 79 | 
             
            demo.queue(api_open=False).launch(show_api=False)
         | 
 
			
