Spaces:
Running
Running
Update app.py
Browse files
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=["
|
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 |
)
|