Spaces:
Running
on
Zero
Running
on
Zero
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ with gr.Blocks(css=css) as demo:
|
|
102 |
medium_button = gr.Button('Medium').click(fn=lambda: set_slider(50), outputs=[style_strength_slider])
|
103 |
high_button = gr.Button('High').click(fn=lambda: set_slider(100), outputs=[style_strength_slider])
|
104 |
with gr.Group():
|
105 |
-
output_quality = gr.Checkbox(label='More Realistic', info='Note: This takes longer, but improves output image quality')
|
106 |
submit_button = gr.Button('Submit')
|
107 |
|
108 |
submit_button.click(fn=inference, inputs=[content_and_output, style_dropdown, style_strength_slider, output_quality], outputs=[content_and_output])
|
|
|
102 |
medium_button = gr.Button('Medium').click(fn=lambda: set_slider(50), outputs=[style_strength_slider])
|
103 |
high_button = gr.Button('High').click(fn=lambda: set_slider(100), outputs=[style_strength_slider])
|
104 |
with gr.Group():
|
105 |
+
output_quality = gr.Checkbox(label='More Realistic', info='Note: This takes longer, but improves output image quality', value=True)
|
106 |
submit_button = gr.Button('Submit')
|
107 |
|
108 |
submit_button.click(fn=inference, inputs=[content_and_output, style_dropdown, style_strength_slider, output_quality], outputs=[content_and_output])
|