only Number and Label outputs are interpretable

This commit is contained in:
Abubakar Abid 2022-03-19 07:34:04 -07:00
parent e95a4b3017
commit 12e733360e

View File

@ -198,7 +198,7 @@ def quantify_difference_in_label(interface, original_output, perturbed_output):
score = diff(original_label, perturbed_label)
return score
elif isinstance(output_component, (Textbox, Number)):
elif isinstance(output_component, Number):
score = diff(post_original_output, post_perturbed_output)
return score