Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -375,8 +375,8 @@ def predict_inverse(antimicrobial_activity_target, substrate, microorganism, num
|
|
375 |
domain.append({'name': str(one_hot_column), 'type': 'categorical', 'domain': (1.0, 1.0)})
|
376 |
else:
|
377 |
domain.append({'name': str(one_hot_column), 'type': 'categorical', 'domain': (0.0, 0.0)})
|
378 |
-
elif df_column == 'Washing_cycles':
|
379 |
-
|
380 |
elif df_column in numerical_columns:
|
381 |
domain.append({'name': str(df_column), 'type': 'continuous', 'domain': (0.,1.)})
|
382 |
else:
|
|
|
375 |
domain.append({'name': str(one_hot_column), 'type': 'categorical', 'domain': (1.0, 1.0)})
|
376 |
else:
|
377 |
domain.append({'name': str(one_hot_column), 'type': 'categorical', 'domain': (0.0, 0.0)})
|
378 |
+
#elif df_column == 'Washing_cycles':
|
379 |
+
# domain.append({'name': str(df_column), 'type': 'categorical', 'domain': (int(num_washing_cycles), int(num_washing_cycles))})
|
380 |
elif df_column in numerical_columns:
|
381 |
domain.append({'name': str(df_column), 'type': 'continuous', 'domain': (0.,1.)})
|
382 |
else:
|