Manjushri commited on
Commit
98a58d9
·
1 Parent(s): 237b649

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,8 +31,8 @@ def upscale_image(model, input_image):
31
  # Define the Gradio interface
32
  iface = gr.Interface(
33
  fn=upscale_image,
34
- inputs=[gr.Radio(["SD 2.0 2x Latent Upscaler", "SD 2.1 4x Upscaler"], label="Models:"), gr.Image(type="filepath")],
35
- outputs=gr.Image(type="filepath"),
36
  title="SD Image Upscaler",
37
  description="Upscale an image using either the SD 2.0 2x Latent Upscaler or the SD 2.1 4x Upscaler. Use the 4x Upscaler for images lower than 512x512. Use the 2x Upscaler for images 512x512 to 768x768"
38
  )
 
31
  # Define the Gradio interface
32
  iface = gr.Interface(
33
  fn=upscale_image,
34
+ inputs=[gr.Radio(["SD 2.0 2x Latent Upscaler", "SD 2.1 4x Upscaler"], label="Models:"), gr.Image(type="filepath", label = "Raw Image")],
35
+ outputs=gr.Image(type="filepath", label = "Upscaled Image"),
36
  title="SD Image Upscaler",
37
  description="Upscale an image using either the SD 2.0 2x Latent Upscaler or the SD 2.1 4x Upscaler. Use the 4x Upscaler for images lower than 512x512. Use the 2x Upscaler for images 512x512 to 768x768"
38
  )