Spaces:
Sleeping
Sleeping
updte xai sampling size
Browse files
app.py
CHANGED
@@ -264,7 +264,7 @@ def update_display(image):
|
|
264 |
# interactive=True,
|
265 |
# info="Choose one method to explain the model"
|
266 |
# )
|
267 |
-
sampling_size =
|
268 |
# gr.Slider(1, 5000, value=2000, label="Sampling Size in Rise",interactive=True,visible=True,
|
269 |
# info="Choose between 1 and 5000")
|
270 |
|
@@ -335,8 +335,8 @@ with gr.Blocks(theme='sudeepshouche/minimalist') as demo:
|
|
335 |
# value="Rise",
|
336 |
# multiselect=False,
|
337 |
# interactive=True,)
|
338 |
-
sampling_size = gr.Slider(
|
339 |
-
info="Choose between
|
340 |
|
341 |
top_k = gr.Slider(10,200,value=50,label="Number of Closest Samples for Distribution Chart",interactive=True,info="Choose between 10 and 200")
|
342 |
explain_method.change(
|
|
|
264 |
# interactive=True,
|
265 |
# info="Choose one method to explain the model"
|
266 |
# )
|
267 |
+
sampling_size = 10
|
268 |
# gr.Slider(1, 5000, value=2000, label="Sampling Size in Rise",interactive=True,visible=True,
|
269 |
# info="Choose between 1 and 5000")
|
270 |
|
|
|
335 |
# value="Rise",
|
336 |
# multiselect=False,
|
337 |
# interactive=True,)
|
338 |
+
sampling_size = gr.Slider(10, 3000, value=10, label="Sampling Size in Rise",interactive=True,visible=True,
|
339 |
+
info="Choose between 10 and 3000")
|
340 |
|
341 |
top_k = gr.Slider(10,200,value=50,label="Number of Closest Samples for Distribution Chart",interactive=True,info="Choose between 10 and 200")
|
342 |
explain_method.change(
|