oValach commited on
Commit
18deda6
·
verified ·
1 Parent(s): 378547d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def process_image(input_image):
31
  # Create the Gradio interface
32
  iface = gr.Interface(
33
  fn=process_image, # The function to be called
34
- inputs=gr.Image(type="auto"), # Input type auto-detects the type
35
  outputs=gr.Image(type="numpy"), # Output type
36
  title="Image Processor", # Title of the interface
37
  description="Upload an image and get a processed image as output." # Description of the interface
 
31
  # Create the Gradio interface
32
  iface = gr.Interface(
33
  fn=process_image, # The function to be called
34
+ inputs=gr.Image(type="numpy"), # Input type auto-detects the type
35
  outputs=gr.Image(type="numpy"), # Output type
36
  title="Image Processor", # Title of the interface
37
  description="Upload an image and get a processed image as output." # Description of the interface