Spaces:
Runtime error
Runtime error
Update App.py
Browse files
app.py
CHANGED
@@ -489,7 +489,7 @@ interface = gr.Interface(fn = identify_bad_smells,
|
|
489 |
gr.CheckboxGroup(["Size", "Complexity", "Punctuations", "Actors Syntax", "Goals Syntax", "Softgoals Syntax", "Tasks Syntax", "Similar Elements", "Spelling Mistakes", "Goal-Subgoal Mismatch", "Contradicting Elements"],
|
490 |
label="Which bad smells you want to detect?"),
|
491 |
gr.Slider(label= "Size threshold", value = 5, minimum = 2, maximum = 10, step = 1),
|
492 |
-
gr.Slider(label= "Similarity threshold", value = 0.
|
493 |
outputs = [gr.Textbox(label= "Detected bad smells:")],
|
494 |
title = "TGRL Bad Smells Detection",
|
495 |
description = "Upload your .xgrl file and we will find the bad smells for you!",
|
|
|
489 |
gr.CheckboxGroup(["Size", "Complexity", "Punctuations", "Actors Syntax", "Goals Syntax", "Softgoals Syntax", "Tasks Syntax", "Similar Elements", "Spelling Mistakes", "Goal-Subgoal Mismatch", "Contradicting Elements"],
|
490 |
label="Which bad smells you want to detect?"),
|
491 |
gr.Slider(label= "Size threshold", value = 5, minimum = 2, maximum = 10, step = 1),
|
492 |
+
gr.Slider(label= "Similarity threshold", value = 0.9, minimum = 0, maximum = 1, step = 0.1)],
|
493 |
outputs = [gr.Textbox(label= "Detected bad smells:")],
|
494 |
title = "TGRL Bad Smells Detection",
|
495 |
description = "Upload your .xgrl file and we will find the bad smells for you!",
|