Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
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.)})
|