Commit
·
9d7cbf3
1
Parent(s):
a896d2d
created Bug Priority model and hugging face deployment read project
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ model = get_model()
|
|
10 |
class Issue(BaseModel):
|
11 |
text: str
|
12 |
|
13 |
-
PRIORITY_LABELS = ["
|
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):
|