Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ gr.Interface(fn=upscale, inputs=[
|
|
37 |
gr.Textbox(label='Experimental: Slightly influence What you do not want the AI to Enhance.'),
|
38 |
gr.Slider(2, 15, 7, step=1, label='Guidance Scale: How much the AI influences the Upscaling.'),
|
39 |
gr.Slider(5, 50, 25, step=1, label='Number of Iterations'),
|
40 |
-
gr.Slider(
|
41 |
outputs=gr.Image(type="filepath", label = 'Upscaled Image'),
|
42 |
title='SD Upscaler',
|
43 |
description='2x Latent Upscaler using SD 2.0 And 4x Upscaler using SD 2.1. This version runs on CPU or GPU and is currently running on a T4 GPU. For 4x Upscaling use images lower than 512x512. For 2x Upscaling use 512x512 to 768x768 images.<br><br><b>Notice: Largest Accepted Resolution is 768x768',
|
|
|
37 |
gr.Textbox(label='Experimental: Slightly influence What you do not want the AI to Enhance.'),
|
38 |
gr.Slider(2, 15, 7, step=1, label='Guidance Scale: How much the AI influences the Upscaling.'),
|
39 |
gr.Slider(5, 50, 25, step=1, label='Number of Iterations'),
|
40 |
+
gr.Slider(minimum=1, maximum=999999999999999999, randomize=True, step=1)],
|
41 |
outputs=gr.Image(type="filepath", label = 'Upscaled Image'),
|
42 |
title='SD Upscaler',
|
43 |
description='2x Latent Upscaler using SD 2.0 And 4x Upscaler using SD 2.1. This version runs on CPU or GPU and is currently running on a T4 GPU. For 4x Upscaling use images lower than 512x512. For 2x Upscaling use 512x512 to 768x768 images.<br><br><b>Notice: Largest Accepted Resolution is 768x768',
|