Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ y_pred = model.predict(x_test)
|
|
78 |
### -------------------------------- ###
|
79 |
# borrow file reading function from reader.py
|
80 |
|
81 |
-
def
|
82 |
feats = [abs(x) for x in model.coef_[0]]
|
83 |
max_val = max(feats)
|
84 |
idx = feats.index(max_val)
|
|
|
78 |
### -------------------------------- ###
|
79 |
# borrow file reading function from reader.py
|
80 |
|
81 |
+
def get_feat():
|
82 |
feats = [abs(x) for x in model.coef_[0]]
|
83 |
max_val = max(feats)
|
84 |
idx = feats.index(max_val)
|