ElPremOoO commited on
Commit
6ab96fe
·
verified ·
1 Parent(s): 4de6b67

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -29,7 +29,7 @@ except Exception as e:
29
  def home():
30
  return request.url
31
 
32
- @app.route("/predict", methods=["POST"])
33
  def predict():
34
  try:
35
  # Get code from request
 
29
  def home():
30
  return request.url
31
 
32
+ @app.route("/predict")
33
  def predict():
34
  try:
35
  # Get code from request