Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -124,8 +124,8 @@ with gr.Blocks() as demo:
|
|
124 |
|
125 |
model_selector.change(toggle_inputs, model_selector, [vit_section, nn_section])
|
126 |
|
127 |
-
nn_example_btn_1.click(lambda:
|
128 |
-
nn_example_btn_2.click(lambda:
|
129 |
|
130 |
file_input.change(extract_features_from_file, file_input, outputs=feature_inputs)
|
131 |
|
|
|
124 |
|
125 |
model_selector.change(toggle_inputs, model_selector, [vit_section, nn_section])
|
126 |
|
127 |
+
nn_example_btn_1.click(lambda: malignant_example, None, feature_inputs)
|
128 |
+
nn_example_btn_2.click(lambda: benign_example, None, feature_inputs)
|
129 |
|
130 |
file_input.change(extract_features_from_file, file_input, outputs=feature_inputs)
|
131 |
|