Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,8 +26,8 @@ def enhance_image(input_image):
|
|
| 26 |
# Create the Gradio interface
|
| 27 |
interface = gr.Interface(
|
| 28 |
fn=enhance_image,
|
| 29 |
-
inputs=gr.
|
| 30 |
-
outputs=gr.
|
| 31 |
title="Enhance This HiDiffusion SDXL",
|
| 32 |
description="Upload an image to enhance it using HiDiffusion SDXL."
|
| 33 |
)
|
|
|
|
| 26 |
# Create the Gradio interface
|
| 27 |
interface = gr.Interface(
|
| 28 |
fn=enhance_image,
|
| 29 |
+
inputs=gr.Image(type="pil", label="Input Image"),
|
| 30 |
+
outputs=gr.Image(type="pil", label="Enhanced Image"),
|
| 31 |
title="Enhance This HiDiffusion SDXL",
|
| 32 |
description="Upload an image to enhance it using HiDiffusion SDXL."
|
| 33 |
)
|