Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -141,7 +141,7 @@ def predict_inverse(hardness_original_target, ys_original_target, metals_to_use,
|
|
141 |
if c.startswith("PROPERTY: Metal") and c not in metals_to_use:
|
142 |
domain.append({'name': str(c), 'type': 'continuous', 'domain': (0.0, 0.)})
|
143 |
else:
|
144 |
-
domain.append({'name': str(c), 'type': 'continuous', 'domain': (0.
|
145 |
else:
|
146 |
domain.append({'name': str(c), 'type': 'discrete', 'domain': (0,1)})
|
147 |
|
|
|
141 |
if c.startswith("PROPERTY: Metal") and c not in metals_to_use:
|
142 |
domain.append({'name': str(c), 'type': 'continuous', 'domain': (0.0, 0.)})
|
143 |
else:
|
144 |
+
domain.append({'name': str(c), 'type': 'continuous', 'domain': (0.1, 1.)})#(0.,1.)})
|
145 |
else:
|
146 |
domain.append({'name': str(c), 'type': 'discrete', 'domain': (0,1)})
|
147 |
|