Deddy commited on
Commit
9ac1725
Β·
verified Β·
1 Parent(s): 76d1a25

Update app.py

Browse files

coba fitur upscale

Files changed (1) hide show
  1. app.py +3 -3
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
- # 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,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
- # 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)
 
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)