Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,8 +11,8 @@ def enhance_image(input_image):
|
|
| 11 |
# Create the Gradio interface
|
| 12 |
interface = gr.Interface(
|
| 13 |
fn=enhance_image,
|
| 14 |
-
inputs=gr.
|
| 15 |
-
outputs=gr.
|
| 16 |
title="Enhance This HiDiffusion SDXL",
|
| 17 |
description="Upload an image to enhance it using HiDiffusion SDXL."
|
| 18 |
)
|
|
|
|
| 11 |
# Create the Gradio interface
|
| 12 |
interface = gr.Interface(
|
| 13 |
fn=enhance_image,
|
| 14 |
+
inputs=gr.Image(type="pil", label="Input Image"),
|
| 15 |
+
outputs=gr.Image(type="pil", label="Enhanced Image"),
|
| 16 |
title="Enhance This HiDiffusion SDXL",
|
| 17 |
description="Upload an image to enhance it using HiDiffusion SDXL."
|
| 18 |
)
|