Manjushri commited on
Commit
d786cb9
1 Parent(s): 8d9186d

Update app.py

Browse files

Updating at lot of UI.

Files changed (1) hide show
  1. app.py +4 -4
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 Slightly Guide the AI's Enhancement"),
37
- gr.Textbox(label='Experimental: Slightly influence What you do not want the AI to Enhance.'),
38
- gr.Slider(1, 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',
 
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',