Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ app = Flask(__name__)
|
|
12 |
DETECTION_URL = "/v1/detect"
|
13 |
|
14 |
|
15 |
-
@app.route(
|
16 |
def predict():
|
17 |
if not request.method == "POST":
|
18 |
return
|
|
|
12 |
DETECTION_URL = "/v1/detect"
|
13 |
|
14 |
|
15 |
+
@app.route('/')
|
16 |
def predict():
|
17 |
if not request.method == "POST":
|
18 |
return
|