Spaces:
Build error
Build error
Update app.py
Browse files
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="
|
| 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
|