Pamudu13 commited on
Commit
a94a43d
·
verified ·
1 Parent(s): 531f0ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ if st.button("Predict Email"):
70
  # FastAPI app to handle GET requests
71
  app = FastAPI()
72
 
73
- @app.get("/predict/")
74
  def predict_spam(email: str):
75
  """
76
  This endpoint predicts whether the email is Spam or Ham.
 
70
  # FastAPI app to handle GET requests
71
  app = FastAPI()
72
 
73
+ @app.get("predict/")
74
  def predict_spam(email: str):
75
  """
76
  This endpoint predicts whether the email is Spam or Ham.