snajmark commited on
Commit
fd6b565
·
1 Parent(s): b591d5b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -136,7 +136,7 @@ def predict_inverse(hardness_original_target, ys_original_target, request: gr.Re
136
 
137
  # Domain
138
  domain = []
139
- for c in one_hot.columns:
140
  if c in continuous_variables:
141
  if c.startswith("PROPERTY: Metal") and c not in metals_to_use:
142
  domain.append({'name': str(c), 'type': 'continuous', 'domain': (0., 0.)})
 
136
 
137
  # Domain
138
  domain = []
139
+ for c in one_hot_columns:
140
  if c in continuous_variables:
141
  if c.startswith("PROPERTY: Metal") and c not in metals_to_use:
142
  domain.append({'name': str(c), 'type': 'continuous', 'domain': (0., 0.)})