artificialguybr commited on
Commit
8b235cc
1 Parent(s): 13070d7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -70,7 +70,12 @@ with gr.Blocks() as app:
70
  result = gr.Image(interactive=False, label="Generated Image")
71
  refined_result = gr.Image(interactive=False, label="Refined Generated Image")
72
  post_processed_result = gr.Image(interactive=False, label="Post-Processed Image")
73
-
 
 
 
 
 
74
  with gr.Tabs():
75
  with gr.TabItem("Color"):
76
  enable_color_limit = gr.Checkbox(label="Enable", value=False)
 
70
  result = gr.Image(interactive=False, label="Generated Image")
71
  refined_result = gr.Image(interactive=False, label="Refined Generated Image")
72
  post_processed_result = gr.Image(interactive=False, label="Post-Processed Image")
73
+
74
+ # Post-Processing Options Above Tabs
75
+ enable_post_processing = gr.Checkbox(label="Enable Post-Processing", value=False)
76
+ downscale_slider = gr.Slider(label="Downscale", minimum=1, maximum=31, step=1, value=1)
77
+ rescale_to_original = gr.Checkbox(label="Rescale to Original Size", value=True)
78
+
79
  with gr.Tabs():
80
  with gr.TabItem("Color"):
81
  enable_color_limit = gr.Checkbox(label="Enable", value=False)