Skreeauk commited on
Commit
7e1ec2c
·
verified ·
1 Parent(s): 06bc5d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -3
app.py CHANGED
@@ -4,15 +4,21 @@ import numpy as np
4
  from huggingface_hub import hf_hub_download
5
 
6
  model = joblib.load(
7
- hf_hub_download("Skreeauk/dark-gbf-logistic-regression", "model.joblib")
8
  )
9
 
 
 
 
 
 
 
10
  def predict(*features) -> str:
11
 
12
  result = model.predict(
13
- [features]
14
  )
15
-
16
  print(result)
17
 
18
  return "Test"
 
4
  from huggingface_hub import hf_hub_download
5
 
6
  model = joblib.load(
7
+ hf_hub_download("Skreeauk/dark-gbf-xgboost2", "model.joblib")
8
  )
9
 
10
+ print("Model")
11
+ print(model)
12
+
13
+ print("Model Step")
14
+ print(model.step)
15
+
16
  def predict(*features) -> str:
17
 
18
  result = model.predict(
19
+ np.array([features])
20
  )
21
+ print("Result")
22
  print(result)
23
 
24
  return "Test"