AlGe commited on
Commit
cd72307
·
verified ·
1 Parent(s): 02ef30b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -13,10 +13,10 @@ def enhance_image(image, prompt):
13
  iface = gr.Interface(
14
  fn=enhance_image,
15
  inputs=[
16
- gr.inputs.Image(type="pil", label="Input Image"),
17
- gr.inputs.Textbox(lines=2, placeholder="Enter prompt here", label="Prompt")
18
  ],
19
- outputs=gr.outputs.Image(type="pil", label="Enhanced Image"),
20
  title="Image Enhancement with Text Prompt",
21
  description="Upload an image and provide a text prompt to enhance the image using HiDiffusion SDXL."
22
  )
 
13
  iface = gr.Interface(
14
  fn=enhance_image,
15
  inputs=[
16
+ gr.Image(type="pil", label="Input Image"),
17
+ gr.Textbox(lines=2, placeholder="Enter prompt here", label="Prompt")
18
  ],
19
+ outputs=gr.Image(type="pil", label="Enhanced Image"),
20
  title="Image Enhancement with Text Prompt",
21
  description="Upload an image and provide a text prompt to enhance the image using HiDiffusion SDXL."
22
  )