Spaces:
Sleeping
Sleeping
Jimin Park
commited on
Commit
·
6af173b
1
Parent(s):
5e39132
kermitting soon
Browse files- util/app.py +1 -1
util/app.py
CHANGED
@@ -167,7 +167,7 @@ def predict_champion(player_opgg_url, *champions):
|
|
167 |
X_processed = X_processed.astype('float32')
|
168 |
|
169 |
# Create DMatrix and predict
|
170 |
-
dtest = DMatrix(X_processed, enable_categorical=
|
171 |
predictions = model.predict(dtest)
|
172 |
|
173 |
# Get prediction indices
|
|
|
167 |
X_processed = X_processed.astype('float32')
|
168 |
|
169 |
# Create DMatrix and predict
|
170 |
+
dtest = DMatrix(X_processed, enable_categorical=False)
|
171 |
predictions = model.predict(dtest)
|
172 |
|
173 |
# Get prediction indices
|