Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,15 +71,15 @@ def harris(img):
|
|
| 71 |
|
| 72 |
|
| 73 |
interface = gr.Interface(
|
| 74 |
-
title = "Harris Corner Detector 🤖",
|
| 75 |
-
description = "<h3>The idea is to locate interest points where the surrounding neighbourhood shows edges in more than one direction.</h3> <br> <b>Select an image 🖼</b>",
|
| 76 |
-
article='Step-by-step on GitHub <a href="https://github.com/Ivanrs297/machine-learning-projects/blob/main/computer-vision/edge_detection/main.ipynb"> notebook </a> <br> ~ Ivanrs',
|
| 77 |
-
allow_flagging = "never",
|
| 78 |
-
fn = harris,
|
| 79 |
-
inputs = [
|
| 80 |
-
|
| 81 |
-
],
|
| 82 |
-
outputs = "image"
|
| 83 |
)
|
| 84 |
|
| 85 |
interface.launch(share = False)
|
|
|
|
| 71 |
|
| 72 |
|
| 73 |
interface = gr.Interface(
|
| 74 |
+
title = "Harris Corner Detector 🤖",
|
| 75 |
+
description = "<h3>The idea is to locate interest points where the surrounding neighbourhood shows edges in more than one direction.</h3> <br> <b>Select an image 🖼</b>",
|
| 76 |
+
article='Step-by-step on GitHub <a href="https://github.com/Ivanrs297/machine-learning-projects/blob/main/computer-vision/edge_detection/main.ipynb"> notebook </a> <br> ~ Ivanrs',
|
| 77 |
+
allow_flagging = "never",
|
| 78 |
+
fn = harris,
|
| 79 |
+
inputs = [
|
| 80 |
+
gr.Image(),
|
| 81 |
+
],
|
| 82 |
+
outputs = "image"
|
| 83 |
)
|
| 84 |
|
| 85 |
interface.launch(share = False)
|