DamarJati commited on
Commit
23e4822
·
verified ·
1 Parent(s): db62bcb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -2
app.py CHANGED
@@ -150,8 +150,6 @@ with gr.Blocks(css="style.css") as app:
150
  image_out = gr.Image(label="Output", elem_id="output-img")
151
 
152
  btn.click(fn=intpaint_func, inputs=[image, prompt, negative_prompt, guidance_scale, steps, strength, scheduler], outputs=[image_out])
153
-
154
-
155
 
156
 
157
  # Tab untuk Describe
@@ -177,5 +175,14 @@ with gr.Blocks(css="style.css") as app:
177
  clear_button.add([sorted_general_strings, rating, character_res, general_res])
178
  submit_button.click(modules.wdtagger.predictor.predict, inputs=[image, model_repo, general_thresh, general_mcut_enabled, character_thresh, character_mcut_enabled], outputs=[sorted_general_strings, rating, character_res, general_res])
179
 
 
 
 
 
 
 
 
 
 
180
  # Jalankan antarmuka
181
  app.launch()
 
150
  image_out = gr.Image(label="Output", elem_id="output-img")
151
 
152
  btn.click(fn=intpaint_func, inputs=[image, prompt, negative_prompt, guidance_scale, steps, strength, scheduler], outputs=[image_out])
 
 
153
 
154
 
155
  # Tab untuk Describe
 
175
  clear_button.add([sorted_general_strings, rating, character_res, general_res])
176
  submit_button.click(modules.wdtagger.predictor.predict, inputs=[image, model_repo, general_thresh, general_mcut_enabled, character_thresh, character_mcut_enabled], outputs=[sorted_general_strings, rating, character_res, general_res])
177
 
178
+ # Tab untuk Upscale
179
+ with gr.Tab("Upscale"):
180
+ with gr.Row():
181
+
182
+ # Tab untuk Settings
183
+ with gr.Tab("Settings"):
184
+ with gr.Row():
185
+
186
+
187
  # Jalankan antarmuka
188
  app.launch()