oValach commited on
Commit
fec3d78
1 Parent(s): 07a8313

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def process_image(input_image):
19
  # Create the Gradio interface
20
  iface = gr.Interface(
21
  fn=process_image, # The function to be called
22
- inputs=gr.Image(type="pil"), # Input type
23
  outputs=gr.Image(type="numpy"), # Output type
24
  title="RailSafeNet - Automatic Detection of Objects in the Track", # Title of the interface
25
  description="Upload an image and get a processed image as output." # Description of the interface
 
19
  # Create the Gradio interface
20
  iface = gr.Interface(
21
  fn=process_image, # The function to be called
22
+ inputs=gr.Image(type="numpy"), # Input type
23
  outputs=gr.Image(type="numpy"), # Output type
24
  title="RailSafeNet - Automatic Detection of Objects in the Track", # Title of the interface
25
  description="Upload an image and get a processed image as output." # Description of the interface