yehezkielgunawan commited on
Commit
2395379
1 Parent(s): 0f4d4a0

fix: :bug: fix build atributes

Browse files
Files changed (4) hide show
  1. .gitattributes +2 -0
  2. app.py +2 -2
  3. best_classifier1.pkl +3 -0
  4. best_classifier2.pkl +3 -0
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ best_classifier2.pkl filter=lfs diff=lfs merge=lfs -text
37
+ best_classifier1.pkl filter=lfs diff=lfs merge=lfs -text
app.py CHANGED
@@ -16,8 +16,8 @@ priority_score_mapping = {1: "low", 2: "medium", 3: "high"}
16
  problem_domain_mapping = {0: "operational", 1: "tech"}
17
 
18
  # Load the trained Random Forest models
19
- best_classifier1 = joblib.load('/content/gdrive/My Drive/Tesis/best_classifier1.pkl')
20
- best_classifier2 = joblib.load('/content/gdrive/My Drive/Tesis/best_classifier2.pkl')
21
 
22
  # Function to perform predictions
23
  def predict(text):
 
16
  problem_domain_mapping = {0: "operational", 1: "tech"}
17
 
18
  # Load the trained Random Forest models
19
+ best_classifier1 = joblib.load('best_classifier1.pkl')
20
+ best_classifier2 = joblib.load('best_classifier2.pkl')
21
 
22
  # Function to perform predictions
23
  def predict(text):
best_classifier1.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11cfb0a69900b41beea15edc677a5f24e506100787c97629c54ecc4acf17e152
3
+ size 1170993
best_classifier2.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8dd36d9e99d6b6cf5d04c4f379a107f277cce50ac6584853921327c8548a6fdd
3
+ size 404521