Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -383,7 +383,7 @@ def predict_inverse(antimicrobial_activity_target, substrate, microorganism, num
|
|
383 |
domain.append({'name': str(df_column), 'type': 'continuous', 'domain': (washing_cycles_target_df["Washing_cycles"].iloc[0],
|
384 |
washing_cycles_target_df["Washing_cycles"].iloc[0])})
|
385 |
elif df_column in numerical_columns:
|
386 |
-
domain.append({'name': str(df_column), 'type': 'continuous', 'domain': (0.
|
387 |
else:
|
388 |
domain.append({'name': str(df_column), 'type': 'categorical', 'domain': (0,1),
|
389 |
'dimensionality': dimensionality_dict[df_column]})
|
|
|
383 |
domain.append({'name': str(df_column), 'type': 'continuous', 'domain': (washing_cycles_target_df["Washing_cycles"].iloc[0],
|
384 |
washing_cycles_target_df["Washing_cycles"].iloc[0])})
|
385 |
elif df_column in numerical_columns:
|
386 |
+
domain.append({'name': str(df_column), 'type': 'continuous', 'domain': (0.5,1.)})
|
387 |
else:
|
388 |
domain.append({'name': str(df_column), 'type': 'categorical', 'domain': (0,1),
|
389 |
'dimensionality': dimensionality_dict[df_column]})
|