Infinityy commited on
Commit
6389fec
1 Parent(s): 6fb6267

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,10 +10,10 @@ def transform_image(image):
10
 
11
  iface = gr.Interface(
12
  fn=transform_image,
13
- inputs=gr.inputs.Image(type='pil'), # Image input type
14
  outputs=["image", "image"], # Display both original and transformed
15
  title="My Fun Image App",
16
  description="Upload an image and see a grayscale version!"
17
  )
18
 
19
- iface.launch()
 
10
 
11
  iface = gr.Interface(
12
  fn=transform_image,
13
+ inputs=gr.Image(type='pil'), # Image input type
14
  outputs=["image", "image"], # Display both original and transformed
15
  title="My Fun Image App",
16
  description="Upload an image and see a grayscale version!"
17
  )
18
 
19
+ iface.launch()