Spaces:
Runtime error
Runtime error
Radcool510
commited on
Commit
•
284ea3a
1
Parent(s):
04e1ac6
Update app.py
Browse files
app.py
CHANGED
@@ -114,9 +114,12 @@ def general_predictor(*args):
|
|
114 |
|
115 |
# predict single datapoint
|
116 |
new_input = [features]
|
|
|
117 |
result = model.predict(new_input)
|
|
|
118 |
return cat_value_dicts[final_colname][result[0]]
|
119 |
|
|
|
120 |
# add data labels to replace those lost via star-args
|
121 |
|
122 |
|
|
|
114 |
|
115 |
# predict single datapoint
|
116 |
new_input = [features]
|
117 |
+
print("New input:", new_input)
|
118 |
result = model.predict(new_input)
|
119 |
+
print("Prediction result:", result)
|
120 |
return cat_value_dicts[final_colname][result[0]]
|
121 |
|
122 |
+
|
123 |
# add data labels to replace those lost via star-args
|
124 |
|
125 |
|