shivamjadhav commited on
Commit
9d7cbf3
·
1 Parent(s): a896d2d

created Bug Priority model and hugging face deployment read project

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ model = get_model()
10
  class Issue(BaseModel):
11
  text: str
12
 
13
- PRIORITY_LABELS = ["Low", "Medium", "High", "Critical"]
14
 
15
  @app.post("/predict")
16
  async def predict(issue: Issue):
 
10
  class Issue(BaseModel):
11
  text: str
12
 
13
+ PRIORITY_LABELS = ["Blocker", "Critical", "Major", "Minor"]
14
 
15
  @app.post("/predict")
16
  async def predict(issue: Issue):