Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -20,7 +20,7 @@ model.eval()
|
|
| 20 |
def home():
|
| 21 |
return request.url
|
| 22 |
|
| 23 |
-
@app.route("/predict"
|
| 24 |
def predict():
|
| 25 |
try:
|
| 26 |
# Debugging: print input code to check if the request is received correctly
|
|
|
|
| 20 |
def home():
|
| 21 |
return request.url
|
| 22 |
|
| 23 |
+
@app.route("/predict")
|
| 24 |
def predict():
|
| 25 |
try:
|
| 26 |
# Debugging: print input code to check if the request is received correctly
|