wzuidema
commited on
Commit
•
51dd120
1
Parent(s):
7aa1dd4
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ with gradio.Blocks(title="Explanations with attention rollout") as iface:
|
|
42 |
ig_layer = gradio.Slider(minimum=0, maximum=12, value=8, step=1, label="Select IG layer")
|
43 |
ig_result = gradio.HTML()
|
44 |
gradio.Examples(examples, [sent])
|
45 |
-
with gradio.Accordion("
|
46 |
util.Markdown(pathlib.Path("notice.md"))
|
47 |
|
48 |
rollout_layer.change(gr_explainer, [sent, rollout_layer], rollout_result)
|
|
|
42 |
ig_layer = gradio.Slider(minimum=0, maximum=12, value=8, step=1, label="Select IG layer")
|
43 |
ig_result = gradio.HTML()
|
44 |
gradio.Examples(examples, [sent])
|
45 |
+
with gradio.Accordion("Some more details"):
|
46 |
util.Markdown(pathlib.Path("notice.md"))
|
47 |
|
48 |
rollout_layer.change(gr_explainer, [sent, rollout_layer], rollout_result)
|