Update app.py
Browse filesUpdating at lot of UI.
app.py
CHANGED
@@ -33,10 +33,10 @@ def upscale(raw_img, model, prompt, negative_prompt, scale, steps, Seed):
|
|
33 |
gr.Interface(fn=upscale, inputs=[
|
34 |
gr.Image(type="filepath", label='Lower Resolution Image'),
|
35 |
gr.Radio(['Upscaler 2x','Upscaler 4x'], label="Models"),
|
36 |
-
gr.Textbox(label="Optional: Enter a Prompt to
|
37 |
-
gr.Textbox(label='Experimental:
|
38 |
-
gr.Slider(1, 15,
|
39 |
-
gr.Slider(5, 50,
|
40 |
gr.Slider(minimum=1, maximum=999999999999999999, randomize=True, step=1)],
|
41 |
outputs=gr.Image(type="filepath", label = 'Upscaled Image'),
|
42 |
title='SD Upscaler',
|
|
|
33 |
gr.Interface(fn=upscale, inputs=[
|
34 |
gr.Image(type="filepath", label='Lower Resolution Image'),
|
35 |
gr.Radio(['Upscaler 2x','Upscaler 4x'], label="Models"),
|
36 |
+
gr.Textbox(label="Optional: Enter a Prompt to Guide the AI's Enhancement, this can have an Img2Img Effect"),
|
37 |
+
gr.Textbox(label='Experimental: Influence What you do not want the AI to Enhance. Such as Blur, Smudges, or Pixels'),
|
38 |
+
gr.Slider(1, 15, 1, step=1, label='Guidance Scale: How much the AI influences the Upscaling.'),
|
39 |
+
gr.Slider(5, 50, 5, 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',
|