ElPremOoO commited on
Commit
f83dc44
·
verified ·
1 Parent(s): 0016327

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -20,7 +20,7 @@ model.eval()
20
  def home():
21
  return request.url
22
 
23
- @app.route("/predict", methods=["POST"])
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