sanabanu31 commited on
Commit
1b6f003
·
verified ·
1 Parent(s): cea309f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -7,9 +7,12 @@ import re
7
  app = FastAPI(
8
  title="Email Classification API",
9
  version="1.0.0",
10
- description="Classifies emails and masks PII/PCI information."
 
 
11
  )
12
 
 
13
  # Load the model once when the app starts
14
  model = joblib.load("model.joblib")
15
 
 
7
  app = FastAPI(
8
  title="Email Classification API",
9
  version="1.0.0",
10
+ description="Classifies emails and masks PII/PCI information.",
11
+ docs_url="/swagger", # Try custom path
12
+ redoc_url="/redoc" # Optional: enable ReDoc
13
  )
14
 
15
+
16
  # Load the model once when the app starts
17
  model = joblib.load("model.joblib")
18