Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -382,7 +382,7 @@ def predict_inverse(antimicrobial_activity_target, substrate, microorganism, num
|
|
382 |
if c.startswith(not_c) and not_c not in seen_not_constrained:
|
383 |
domain.append({'name': str(not_c), 'type': 'categorical', 'domain': (0,1),
|
384 |
'dimensionality': dimensionality_dict[not_c]})
|
385 |
-
seen_not_constrained.append(not_c)
|
386 |
print("Domain is ", domain)
|
387 |
print(len(domain))
|
388 |
|
|
|
382 |
if c.startswith(not_c) and not_c not in seen_not_constrained:
|
383 |
domain.append({'name': str(not_c), 'type': 'categorical', 'domain': (0,1),
|
384 |
'dimensionality': dimensionality_dict[not_c]})
|
385 |
+
seen_not_constrained.append(str(not_c))
|
386 |
print("Domain is ", domain)
|
387 |
print(len(domain))
|
388 |
|