Manjushri commited on
Commit
1281d06
·
1 Parent(s): d4fd888

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -36,9 +36,8 @@ def upscale_image(model, image):
36
  # Define the Gradio interface
37
  iface = gr.Interface(
38
  fn=upscale_image,
39
- inputs=["radio", input_image],
40
  outputs=output_image,
41
- radio_options=["SD 2.0 2x Latent Upscaler", "SD 2.1 4x Upscaler"],
42
  title="Image Upscaler",
43
  description="Upscale an image using either the SD 2.0 2x Latent Upscaler or the SD 2.1 4x Upscaler."
44
  )
 
36
  # Define the Gradio interface
37
  iface = gr.Interface(
38
  fn=upscale_image,
39
+ inputs=[gr.Radio(["SD 2.0 2x Latent Upscaler", "SD 2.1 4x Upscaler"]), input_image],
40
  outputs=output_image,
 
41
  title="Image Upscaler",
42
  description="Upscale an image using either the SD 2.0 2x Latent Upscaler or the SD 2.1 4x Upscaler."
43
  )